public final class AuroraWorkerStarter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
void |
close()
needs to close down when finished computation
|
static AuroraWorkerStarter |
createAuroraWorker()
create a AuroraWorkerStarter object by getting values from system property
|
void |
initializeWithZooKeeper() |
void |
loadConfig()
loadConfig from config files
|
static void |
logJobInfo(JobAPI.Job job)
a test method to print a job
|
static void |
main(java.lang.String[] args) |
void |
overrideConfigsFromJob()
configs from job object will override the ones in config from files if any
|
void |
waitAndGetAllWorkers()
needs to close down when finished computation
|
public static void main(java.lang.String[] args)
public static AuroraWorkerStarter createAuroraWorker()
public void loadConfig()
public void overrideConfigsFromJob()
public void initializeWithZooKeeper()
public void waitAndGetAllWorkers()
public void close()
public static void logJobInfo(JobAPI.Job job)