Exemplo n.º 1
0
    def configure(self, env):
        import params

        env.set_params(params)
        env.set_params(hawq_constants)
        common.setup_user()
        common.setup_common_configurations()
        # temp directories are stateless and they should be recreated when configured (started)
        common.create_temp_dirs(params.hawq_segment_temp_dirs)
Exemplo n.º 2
0
    def configure(self, env):
        import params

        env.set_params(params)
        env.set_params(hawq_constants)
        common.setup_user()
        common.setup_common_configurations()
        common.create_master_dir(params.hawq_segment_dir)
        common.create_temp_dirs(params.hawq_segment_temp_dirs)
Exemplo n.º 3
0
def configure_master():
  """
  Configures the master node after rpm install
  """
  import params
  common.setup_user()
  common.setup_common_configurations()
  __setup_master_specific_conf_files()
  common.create_master_dir(params.hawq_master_dir)
  common.create_temp_dirs(params.hawq_master_temp_dirs)