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

Function main

example/docker/cluster_setup.py:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 s.run_cmd(tera_instance.ip, cmd)
97
98def main():
99 args = parse_input()
100 zk_cluster, hdfs_cluster, tera_cluster = config(args)
101 s = SSH()
102 start_zk(args, zk_cluster, s)
103 start_hdfs(args, hdfs_cluster, s)
104 start_tera(args, tera_cluster, zk_cluster, hdfs_cluster, s)
105
106if __name__ == '__main__':
107 main()

Callers 1

cluster_setup.pyFile · 0.70

Calls 6

SSHClass · 0.85
parse_inputFunction · 0.70
configFunction · 0.70
start_zkFunction · 0.70
start_hdfsFunction · 0.70
start_teraFunction · 0.70

Tested by

no test coverage detected