GIRAPH-1078 createZooKeeperServerList should use task instead of port number
authorSergey Edunov <edunov@fb.com>
Fri, 24 Jun 2016 17:15:30 +0000 (10:15 -0700)
committerSergey Edunov <edunov@fb.com>
Fri, 24 Jun 2016 17:15:30 +0000 (10:15 -0700)
commit8eb1f763d0cb0f98de1f12e3d48d9c516f5ac7a8
tree2aa38222328a61c8a5e9c43db809ecb3291525fd
parentcf6abc09a3b4077646c0ec03ec3d1046acecc57a
GIRAPH-1078 createZooKeeperServerList should use task instead of port number

Summary: createZooKeeperServerList doesn't have a port yet, as we haven't started zookeeper. What we actually have is the task number. Port will be later set by the master.

Test Plan: run a few jobs.

Reviewers: maja.kabiljo, majakabiljo, heslami, dionysis.logothetis

Reviewed By: dionysis.logothetis

Differential Revision: https://reviews.facebook.net/D59961
giraph-core/src/main/java/org/apache/giraph/zk/ZooKeeperManager.java