supervisor_port = "56431" storm_rest_api_port = "8745" falcon_port = config['configurations']['global']['falcon_port'] ahs_port = get_port_from_url(config['configurations']['yarn-site'] ['yarn.timeline-service.webapp.address']) dfs_namenode_checkpoint_period = config['configurations']['hdfs-site'][ 'dfs.namenode.checkpoint.period'] dfs_namenode_checkpoint_txns = config['configurations']['hdfs-site'][ 'dfs.namenode.checkpoint.txns'] # this is different for HDP1 nn_metrics_property = "FSNamesystem" clientPort = config['configurations']['global']['clientPort'] #ZK java64_home = config['hostLevelParams']['java_home'] check_cpu_on = is_jdk_greater_6(java64_home) _authentication = config['configurations']['core-site'][ 'hadoop.security.authentication'] security_enabled = (not is_empty(_authentication) and _authentication == 'kerberos') nagios_keytab_path = default("nagios_keytab_path", "/etc/security/keytabs/nagios.service.keytab") kinit_path_local = functions.get_kinit_path([ default("kinit_path_local", None), "/usr/bin", "/usr/kerberos/bin", "/usr/sbin" ]) dfs_ha_enabled = False dfs_ha_nameservices = default("/configurations/hdfs-site/dfs.nameservices", None)
hbase_master_port = config['configurations']['hbase-site']['hbase.master.info.port'] #"60010" hbase_rs_port = config['configurations']['hbase-site']['hbase.regionserver.info.port'] #"60030" # this 4 is different for HDP2 jtnode_port = get_port_from_url(config['configurations']['mapred-site']['mapred.job.tracker.http.address']) jobhistory_port = get_port_from_url(config['configurations']['mapred-site']['mapreduce.history.server.http.address']) tasktracker_port = "50060" mapred_local_dir = config['configurations']['mapred-site']['mapred.local.dir'] # this is different for HDP2 nn_metrics_property = "FSNamesystemMetrics" clientPort = config['configurations']['global']['clientPort'] #ZK java64_home = config['hostLevelParams']['java_home'] check_cpu_on = is_jdk_greater_6(java64_home) _authentication = config['configurations']['core-site']['hadoop.security.authentication'] security_enabled = ( not is_empty(_authentication) and _authentication == 'kerberos') nagios_keytab_path = default("nagios_keytab_path", "/etc/security/keytabs/nagios.service.keytab") kinit_path_local = functions.get_kinit_path([default("kinit_path_local",None), "/usr/bin", "/usr/kerberos/bin", "/usr/sbin"]) ganglia_port = "8651" ganglia_collector_slaves_port = "8660" ganglia_collector_namenode_port = "8661" ganglia_collector_jobtracker_port = "8662" ganglia_collector_hbase_port = "8663" ganglia_collector_rm_port = "8664" ganglia_collector_nm_port = "8660" ganglia_collector_hs_port = "8666"