Package ml.shifu.guagua.hadoop
Class ZooKeeperWorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable>
- java.lang.Object
-
- ml.shifu.guagua.worker.BasicWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>
-
- ml.shifu.guagua.hadoop.ZooKeeperWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>
-
- All Implemented Interfaces:
ml.shifu.guagua.worker.WorkerInterceptor<MASTER_RESULT,WORKER_RESULT>
public class ZooKeeperWorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable> extends ml.shifu.guagua.worker.BasicWorkerInterceptor<MASTER_RESULT,WORKER_RESULT>Follow withZooKeeperMasterInterceptor,ZooKeeperWorkerInterceptoris used to read zookeeper server info from hdfs file.
-
-
Constructor Summary
Constructors Constructor Description ZooKeeperWorkerInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpreApplication(ml.shifu.guagua.worker.WorkerContext<MASTER_RESULT,WORKER_RESULT> context)
-
-
-
Method Detail
-
preApplication
public void preApplication(ml.shifu.guagua.worker.WorkerContext<MASTER_RESULT,WORKER_RESULT> context)
- Specified by:
preApplicationin interfaceml.shifu.guagua.worker.WorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable>- Overrides:
preApplicationin classml.shifu.guagua.worker.BasicWorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable>
-
-