Exemplo n.º 1
0
 def start(self, env, upgrade_type=None):
     import params
     env.set_params(params)
     install_hive()
     self.configure(env)
     if params.init_metastore_schema:
         create_metastore_schema()  # execute without config lock
     hive_service('metastore', action='start', upgrade_type=upgrade_type)
     setup_ranger_hive_metastore_service()
Exemplo n.º 2
0
    def start(self, env, upgrade_type=None):
        import params
        env.set_params(params)

        # writing configurations on start required for securtity
        self.configure(env)
        if params.init_metastore_schema:
            create_metastore_schema()

        hive_service('metastore', action='start', upgrade_type=upgrade_type)
Exemplo n.º 3
0
    def start(self, env, upgrade_type=None):
        import params
        env.set_params(params)

        # writing configurations on start required for securtity
        self.configure(env)
        if params.init_metastore_schema:
            create_metastore_schema()

        hive_service('metastore', action='start', upgrade_type=upgrade_type)

        # below function call is used for cluster depolyed in cloud env to create ranger hive service in ranger admin.
        setup_ranger_hive_metastore_service()
Exemplo n.º 4
0
    def start(self, env, upgrade_type=None):
        import params
        env.set_params(params)

        refresh_yarn()
        create_hive_hdfs_dirs()

        # writing configurations on start required for securtity
        self.configure(env)
        if params.init_metastore_schema:
            create_metastore_schema()  # execute without config lock
        # create_hive_metastore_schema() # before starting metastore create info schema

        hive_service('metastore', action='start', upgrade_type=upgrade_type)

        # below function call is used for cluster depolyed in cloud env to create ranger hive service in ranger admin.
        setup_ranger_hive_metastore_service()