public class ZKJobMasterFinder
extends java.lang.Object
Constructor and Description |
---|
ZKJobMasterFinder(Config config,
java.lang.String jobID) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getJobMasterIPandPort() |
void |
initialize()
connect to ZooKeeper server
|
java.lang.String |
waitAndGetJobMasterIPandPort(long timeLimit) |
public ZKJobMasterFinder(Config config, java.lang.String jobID)