#NEWLINE# def generate_configs( args , host , job_name , instance_id ) : #NEWLINE# #INDENT# core_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'core-site.xml' ] ) #NEWLINE# hdfs_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'hdfs-site.xml' ] ) #NEWLINE# hbase_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'hbase-site.xml' ] ) #NEWLINE# galaxy_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'galaxy-site.xml' ] ) #NEWLINE# zookeeper_properties = deploy_utils . generate_properties_file ( args , args . fds_config . configuration . generated_files [ 'zookeeper.properties' ] ) #NEWLINE# mapred_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'mapred-site.xml' ] ) #NEWLINE# yarn_site_xml = deploy_utils . generate_site_xml ( args , args . fds_config . configuration . generated_files [ 'yarn-site.xml' ] ) #NEWLINE# passport_properties = deploy_utils . generate_properties_file ( args , args . fds_config . configuration . generated_files [ 'passport.properties' ] ) #NEWLINE# config_files = { #NEWLINE# #INDENT# 'core-site.xml' : core_site_xml , #NEWLINE# 'hdfs-site.xml' : hdfs_site_xml , #NEWLINE# 'hbase-site.xml' : hbase_site_xml , #NEWLINE# 'galaxy-site.xml' : galaxy_site_xml , #NEWLINE# 'zookeeper.properties' : zookeeper_properties , #NEWLINE# 'mapred-site.xml' : mapred_site_xml , #NEWLINE# 'yarn-site.xml' : yarn_site_xml , #NEWLINE# 'passport.properties' : passport_properties , #NEWLINE# #UNINDENT# } #NEWLINE# config_files . update ( args . fds_config . configuration . raw_files ) #NEWLINE# return config_files