MCPcopy Create free account
hub / github.com/baidu/tera / main

Function main

example/docker/hdfs_setup.py:112–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 time.sleep(1000)
111
112def main():
113 args = parse_input()
114 write_core_site_xml(args)
115 write_hdfs_site_xml()
116 #write_mapred_site_xml(args)
117 write_hadoop_env()
118 write_maters_slaves(args)
119 if args.tera is False:
120 start_hdfs(args)
121 doing_nothing()
122
123if __name__ == '__main__':
124 main()

Callers 1

hdfs_setup.pyFile · 0.70

Calls 7

write_core_site_xmlFunction · 0.85
write_hdfs_site_xmlFunction · 0.85
write_hadoop_envFunction · 0.85
write_maters_slavesFunction · 0.85
parse_inputFunction · 0.70
start_hdfsFunction · 0.70
doing_nothingFunction · 0.70

Tested by

no test coverage detected