Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore ListLoad Str Str Assign NameStore Dict Str Str Str Str Str Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad Assign NameStore Str If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Str Assign NameStore Dict Str Str Str Str Str NameLoad Num Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Str attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Str Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str For TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num body If BoolOpAnd CompareNotEq NameLoad Str CompareNotEq NameLoad Str CompareEq Call AttributeLoad NameLoad attr Str Num body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareNotEq NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr For NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd ListLoad Str Str NameLoad NameLoad ListLoad NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str body AugAssignAdd NameStore ListLoad Str BinOpMod Str NameLoad AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Index Num attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler body Assign NameStore NameLoad Assign AttributeStore NameLoad attr ListLoad Str BinOpMod Str NameLoad Str BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num handlers ExceptHandler body Assign NameStore NameLoad Assign AttributeStore NameLoad attr ListLoad Str BinOpMod Str NameLoad Str BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Print NameLoad Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Print NameLoad Str Print NameLoad Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareNotEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Assign NameStore Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr body For NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Assign NameStore IfExp UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Num NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A argparse N/A deploy_utils N/A deploy_zookeeper N/A os N/A parallel_deploy N/A pwd N/A socket N/A subprocess N/A sys N/A tempfile N/A urlparse log Log N/A ALL_JOBS N/A regionserver master N/A SHELL_COMMAND_INFO N/A shell ruby hbck htck hlog hfile version N/A org.jruby.Main run the HBase shell N/A org.jruby.Main run the ruby shell N/A org.apache.hadoop.hbase.util.HBaseFsck run the hbase 'fsck' tool N/A com.xiaomi.infra.hbase.AvailabilityTool run the hbase table availability check tool N/A org.apache.hadoop.hbase.regionserver.wal.HLogPrettyPrinter write-ahead-log analyzer N/A org.apache.hadoop.hbase.io.hfile.HFile store file analyzer N/A org.apache.hadoop.hbase.util.VersionInfo print the version generate_metrics_config N/A N/A args host job_name instance_id N/A -1 N/A N/A job N/A N/A N/A args hbase_config jobs N/A job_name N/A supervisor_client N/A N/A deploy_utils get_supervisor_client host hbase N/A N/A N/A args hbase_config cluster name job_name instance_id instance_id N/A ganglia_switch #  N/A N/A N/A N/A args hbase_config cluster ganglia_address N/A N/A ganglia_switch N/A config_dict N/A job_name period data_dir ganglia_address ganglia_switch job_name 10 N/A N/A supervisor_client get_log_dir N/A N/A N/A args hbase_config cluster ganglia_address ganglia_switch N/A local_path N/A %s/hadoop-metrics.properties.tmpl N/A N/A deploy_utils get_template_dir N/A template N/A N/A deploy_utils Template N/A N/A N/A open local_path r read N/A N/A N/A template substitute config_dict N/A generate_zk_jaas_config N/A N/A args N/A N/A N/A N/A N/A N/A deploy_utils is_security_enabled args N/A N/A N/A config_dict N/A N/A N/A N/A args hbase_config configuration generated_files N/A jaas.conf N/A N/A key value N/A N/A N/A config_dict items N/A 1 N/A N/A N/A N/A value true N/A value false N/A N/A N/A value find " -1 N/A N/A N/A config_dict N/A key N/A N/A " value " N/A header_line N/A config_dict N/A headerLine N/A N/A Client {
  %s
%s;
}; N/A header_line N/A N/A join N/A N/A   %s=%s N/A key value N/A N/A key value N/A N/A config_dict iteritems N/A key N/A N/A N/A config_dict keys N/A 0 N/A generate_configs N/A N/A args host job_name instance_id N/A N/A N/A core_site_xml N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A core-site.xml N/A hdfs_site_xml N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A hdfs-site.xml N/A hbase_site_xml N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A hbase-site.xml N/A hadoop_metrics_properties N/A generate_metrics_config args host job_name instance_id N/A zk_jaas_conf N/A generate_zk_jaas_config args N/A config_files N/A core-site.xml hdfs-site.xml hbase-site.xml hadoop-metrics.properties jaas.conf core_site_xml hdfs_site_xml hbase_site_xml hadoop_metrics_properties zk_jaas_conf N/A N/A N/A config_files update N/A N/A N/A args hbase_config configuration raw_files N/A config_files N/A generate_run_scripts_params N/A N/A args host job_name host_id instance_id N/A N/A N/A job N/A N/A N/A args hbase_config jobs N/A job_name N/A supervisor_client N/A N/A deploy_utils get_supervisor_client host hbase N/A N/A N/A args hbase_config cluster name job_name instance_id instance_id N/A artifact_and_version N/A hbase- N/A N/A N/A args hbase_config cluster version N/A component_dir $package_dir/ N/A jar_dirs N/A %s/:%s/lib/*:%s/* N/A component_dir component_dir component_dir N/A log_level N/A N/A deploy_utils get_service_log_level args N/A args hbase_config N/A params N/A N/A job get_arguments args N/A N/A args hbase_config cluster N/A N/A args hbase_config jobs N/A N/A args hbase_config arguments_dict job_name host_id instance_id N/A script_dict N/A artifact job_name jar_dirs run_dir params artifact_and_version job_name jar_dirs N/A N/A supervisor_client get_run_dir params N/A script_dict N/A get_hbase_service_config N/A N/A args N/A N/A N/A N/A args hbase_config N/A N/A deploy_utils get_service_config args N/A N/A N/A N/A N/A args hbase_config cluster zk_cluster N/A N/A N/A N/A Log print_critical N/A hdfs cluster must depends on a zookeeper clusters: %s N/A N/A N/A args hbase_config cluster name N/A generate_start_script N/A N/A args host job_name host_id instance_id N/A N/A N/A script_params N/A generate_run_scripts_params args host job_name host_id instance_id N/A N/A N/A deploy_utils create_run_script N/A %s/start.sh.tmpl N/A N/A deploy_utils get_template_dir script_params N/A install N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A N/A N/A deploy_utils install_service args hbase N/A args hbase_config hbase N/A cleanup_job N/A N/A args host job_name host_id instance_id cleanup_token active N/A N/A N/A N/A N/A deploy_utils cleanup_job hbase N/A args hbase_config host job_name instance_id cleanup_token N/A cleanup N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A cleanup_token N/A N/A deploy_utils confirm_cleanup args hbase N/A args hbase_config N/A job_name N/A N/A args job ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name cleanup cleanup_token cleanup_token N/A N/A N/A parallel_deploy start_deploy_threads cleanup_job task_list N/A bootstrap_job N/A N/A args host job_name host_id instance_id cleanup_token active N/A N/A N/A N/A N/A N/A args hbase_config parse_generated_config_files args job_name host_id instance_id N/A N/A N/A deploy_utils bootstrap_job args hbase hbase N/A args hbase_config host job_name instance_id cleanup_token 0 N/A N/A start_job args host job_name host_id instance_id N/A bootstrap N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A cleanup_token N/A N/A deploy_utils confirm_bootstrap hbase N/A args hbase_config N/A job_name N/A N/A args job ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name bootstrap cleanup_token cleanup_token N/A N/A N/A parallel_deploy start_deploy_threads bootstrap_job task_list N/A start_job N/A N/A args host job_name host_id instance_id is_wait N/A False N/A N/A is_wait N/A N/A N/A N/A deploy_utils wait_for_job_stopping hbase N/A N/A N/A args hbase_config cluster name job_name host instance_id N/A N/A N/A N/A args hbase_config parse_generated_config_files args job_name host_id instance_id N/A config_files N/A generate_configs args host job_name instance_id N/A start_script N/A generate_start_script args host job_name host_id instance_id N/A http_url N/A N/A deploy_utils get_http_service_uri host N/A N/A N/A N/A args hbase_config jobs N/A job_name base_port instance_id N/A N/A N/A deploy_utils start_job args hbase hbase N/A args hbase_config host job_name instance_id start_script http_url config_files N/A start N/A N/A args N/A N/A N/A N/A N/A args skip_confirm N/A N/A N/A N/A deploy_utils confirm_start args N/A N/A get_hbase_service_config args N/A job_name N/A N/A args job ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name start N/A N/A N/A parallel_deploy start_deploy_threads start_job task_list N/A stop_job N/A N/A args host job_name instance_id N/A N/A N/A N/A N/A deploy_utils stop_job hbase N/A args hbase_config host job_name instance_id N/A stop N/A N/A args N/A N/A N/A N/A N/A args skip_confirm N/A N/A N/A N/A deploy_utils confirm_stop args N/A N/A get_hbase_service_config args N/A job_name N/A N/A args job N/A reversed ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name stop N/A N/A N/A parallel_deploy start_deploy_threads stop_job task_list N/A restart N/A N/A args N/A N/A N/A N/A N/A args skip_confirm N/A N/A N/A N/A deploy_utils confirm_restart args N/A N/A get_hbase_service_config args N/A job_name N/A N/A args job N/A reversed ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name stop N/A N/A N/A parallel_deploy start_deploy_threads stop_job task_list N/A job_name N/A N/A args job ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name start is_wait True N/A N/A N/A parallel_deploy start_deploy_threads start_job task_list N/A show_job N/A N/A args host job_name instance_id N/A N/A N/A N/A N/A deploy_utils show_job hbase N/A args hbase_config host job_name instance_id N/A show N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A job_name N/A N/A args job ALL_JOBS N/A N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A task_list N/A N/A deploy_utils schedule_task_for_threads args hosts job_name show N/A N/A N/A parallel_deploy start_deploy_threads show_job task_list N/A run_shell N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A N/A main_class options N/A N/A deploy_utils parse_shell_command args SHELL_COMMAND_INFO N/A N/A main_class N/A N/A N/A N/A N/A N/A args hbase_config parse_generated_config_files args N/A core_site_dict N/A N/A N/A N/A args hbase_config configuration generated_files N/A core-site.xml N/A hdfs_site_dict N/A N/A N/A N/A args hbase_config configuration generated_files N/A hdfs-site.xml N/A hbase_site_dict N/A N/A N/A N/A args hbase_config configuration generated_files N/A hbase-site.xml N/A hbase_opts N/A list N/A N/A key value N/A N/A core_site_dict iteritems N/A N/A N/A N/A hbase_opts append N/A -D%s%s=%s N/A N/A deploy_utils HADOOP_PROPERTY_PREFIX key value N/A N/A key value N/A N/A hdfs_site_dict iteritems N/A N/A N/A N/A hbase_opts append N/A -D%s%s=%s N/A N/A deploy_utils HADOOP_PROPERTY_PREFIX key value N/A N/A key value N/A N/A hbase_site_dict iteritems N/A N/A N/A N/A hbase_opts append N/A -D%s%s=%s N/A N/A deploy_utils HADOOP_PROPERTY_PREFIX key value N/A N/A N/A deploy_utils is_security_enabled args N/A N/A N/A N/A hbase_opts append N/A -Djava.security.krb5.conf=%s/krb5-hadoop.conf N/A N/A deploy_utils get_config_dir N/A N/A jaas_fd jaas_file N/A N/A tempfile mkstemp N/A N/A N/A N/A args zookeeper_config parse_generated_config_files args N/A N/A N/A os write jaas_fd N/A N/A deploy_zookeeper generate_client_jaas_config args N/A N/A N/A os close jaas_fd N/A N/A N/A hbase_opts append N/A -Djava.security.auth.login.config=%s jaas_file N/A package_root N/A N/A deploy_utils get_artifact_package_root args N/A N/A args hbase_config cluster hbase N/A class_path N/A %s/:%s/lib/*:%s/* N/A package_root package_root package_root N/A cmd N/A N/A N/A java -cp class_path hbase_opts N/A main_class N/A N/A N/A N/A args command N/A 0 shell N/A N/A cmd N/A -X+O N/A %s/bin/hirb.rb package_root N/A cmd options N/A p N/A N/A subprocess Popen cmd stdout N/A sys stdout stderr N/A sys stderr N/A N/A N/A p wait N/A update_hbase_env_sh N/A N/A args artifact version N/A N/A N/A current_path N/A N/A N/A os path abspath N/A N/A N/A os path dirname N/A N/A N/A os path realpath N/A args package_root N/A conf_path N/A %s/%s/%s/%s-%s/conf N/A current_path N/A args package_root N/A args cluster artifact version N/A hbase_opts -Djava.security.auth.login.config=$HBASE_CONF_DIR/jaas.conf  N/A hbase_opts -Djava.security.krb5.conf=$HBASE_CONF_DIR/krb5.conf N/A N/A N/A deploy_utils append_to_file N/A %s/hbase-env.sh conf_path N/A export HBASE_OPTS="$HBASE_OPTS %s"
 hbase_opts N/A generate_client_config N/A N/A args artifact version N/A N/A N/A config_path N/A %s/%s/%s-%s/conf N/A N/A args package_root N/A args cluster artifact version N/A master_host N/A N/A N/A N/A N/A N/A args hbase_config jobs N/A master hosts N/A 0 ip N/A config_path N/A %s/%s/%s-%s/conf N/A N/A args package_root N/A args cluster artifact version N/A N/A N/A deploy_utils write_file N/A %s/hbase-site.xml config_path N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A hbase-site.xml N/A N/A N/A deploy_utils write_file N/A %s/hadoop-metrics.properties config_path N/A generate_metrics_config args master_host master N/A N/A N/A deploy_utils write_file N/A %s/core-site.xml config_path N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A core-site.xml N/A N/A N/A deploy_utils write_file N/A %s/hdfs-site.xml config_path N/A N/A deploy_utils generate_site_xml args N/A N/A N/A N/A args hbase_config configuration generated_files N/A hdfs-site.xml N/A N/A N/A N/A args zookeeper_config parse_generated_config_files args N/A N/A N/A deploy_utils write_file N/A %s/jaas.conf config_path N/A N/A deploy_zookeeper generate_client_jaas_config args N/A N/A N/A deploy_utils write_file N/A %s/krb5.conf config_path N/A N/A N/A N/A args hbase_config configuration raw_files N/A krb5.conf N/A N/A update_hbase_env_sh args artifact version N/A pack N/A N/A args N/A N/A N/A N/A get_hbase_service_config args N/A N/A N/A N/A args hbase_config parse_generated_config_files args N/A version N/A N/A N/A args hbase_config cluster version N/A N/A N/A deploy_utils make_package_dir args hbase N/A N/A args hbase_config cluster N/A N/A generate_client_config args hbase version N/A N/A N/A args skip_tarball N/A N/A N/A N/A deploy_utils pack_package args hbase version N/A N/A N/A Log print_success Pack client utilities for hbase success!
 N/A vacate_region_server N/A N/A args ip port N/A N/A N/A package_root N/A N/A deploy_utils get_artifact_package_root args N/A N/A args hbase_config cluster hbase N/A N/A N/A Log print_info N/A Vacate region server:  ip N/A N/A N/A host N/A N/A N/A socket gethostbyaddr ip N/A 0 N/A N/A N/A N/A host ip N/A N/A args command N/A ruby N/A %s/bin/region_mover.rb package_root unload N/A %s:%d N/A host port N/A N/A N/A run_shell args 0 N/A N/A N/A N/A Log print_critical N/A Unload host %s failed. host N/A recover_region_server N/A N/A args ip port N/A N/A N/A package_root N/A N/A deploy_utils get_artifact_package_root args N/A N/A args hbase_config cluster hbase N/A N/A N/A Log print_info N/A Recover region server:  ip N/A N/A N/A host N/A N/A N/A socket gethostbyaddr ip N/A 0 N/A N/A N/A N/A host ip N/A N/A args command N/A ruby N/A %s/bin/region_mover.rb package_root load N/A %s:%d N/A host port N/A N/A N/A run_shell args 0 N/A N/A N/A N/A Log print_critical N/A Load host %s failed. host N/A balance_switch N/A N/A args flag N/A N/A N/A N/A fd filename N/A N/A tempfile mkstemp N/A f N/A N/A os fdopen fd w+ N/A flag N/A N/A N/A N/A Log print_info N/A balance_switch on for cluster: %s N/A args cluster N/A f balance_switch true N/A N/A N/A N/A Log print_info N/A balance_switch off for cluster: %s N/A args cluster N/A f balance_switch false N/A f exit N/A N/A N/A f close N/A N/A args command N/A shell filename N/A ret N/A run_shell args N/A N/A N/A os remove filename N/A N/A ret 0 N/A N/A N/A N/A Log print_critical N/A balance_switch off for cluster: %s failed! N/A args cluster N/A rolling_update N/A N/A args N/A N/A N/A N/A N/A args job N/A N/A N/A N/A Log print_critical You must specify the job name to do rolling update N/A N/A N/A args skip_confirm N/A N/A N/A N/A deploy_utils confirm_action args rolling_update N/A N/A get_hbase_service_config args N/A job_name N/A N/A args job N/A 0 N/A N/A job_name regionserver N/A N/A N/A args vacate_rs False N/A N/A args vacate_rs N/A N/A N/A balance_switch args False N/A N/A N/A Log print_info N/A Rolling updating %s job_name N/A hosts N/A N/A N/A N/A args hbase_config jobs N/A job_name hosts N/A wait_time 0 N/A N/A args task_map N/A N/A deploy_utils parse_args_host_and_task args hosts N/A host_id N/A N/A N/A N/A args task_map keys N/A N/A hosts iterkeys N/A N/A instance_id N/A N/A N/A N/A args task_map get host_id N/A range N/A N/A hosts N/A host_id instance_num N/A N/A instance_id N/A N/A N/A N/A deploy_utils is_multiple_instances host_id hosts -1 instance_id N/A N/A N/A args skip_confirm N/A N/A N/A N/A deploy_utils confirm_rolling_update host_id instance_id wait_time N/A port N/A N/A deploy_utils get_base_port N/A N/A N/A N/A args hbase_config jobs N/A job_name base_port instance_id N/A N/A args vacate_rs N/A N/A N/A vacate_region_server args N/A N/A hosts N/A host_id ip port N/A N/A stop_job args N/A N/A hosts N/A host_id ip job_name instance_id N/A N/A N/A deploy_utils wait_for_job_stopping hbase N/A N/A N/A args hbase_config cluster name job_name N/A N/A hosts N/A host_id ip instance_id N/A N/A start_job args N/A N/A hosts N/A host_id ip job_name host_id instance_id N/A N/A N/A deploy_utils wait_for_job_starting hbase N/A N/A N/A args hbase_config cluster name job_name N/A N/A hosts N/A host_id ip instance_id N/A N/A args vacate_rs N/A N/A N/A recover_region_server args N/A N/A hosts N/A host_id ip port N/A wait_time N/A args time_interval N/A N/A args vacate_rs N/A N/A N/A balance_switch args True N/A N/A N/A Log print_success N/A Rolling updating %s success job_name N/A N/A N/A __name__ __main__ N/A N/A N/A test