예제 #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()
예제 #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)
예제 #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()
예제 #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()