query the zookeeper home path in the cluster.
optimize the code to upload file.