public final class ZKJobMasterFinderExample
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static Config | 
buildTestConfig(java.lang.String zkAddress)
construct a test Config object 
 | 
static void | 
main(java.lang.String[] args)
This class is used together with ZKJobMasterRegistrarExample.java
 That class registers the Job Master and this class discovers it 
 | 
static void | 
printUsage()  | 
public static void main(java.lang.String[] args)
This class tries to get the Job Master address from a ZooKeeper server If the Job Master has not been registered yet, it can wait for it to be registered
public static Config buildTestConfig(java.lang.String zkAddress)
public static void printUsage()