Class ZooKeeperWorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,​WORKER_RESULT extends ml.shifu.guagua.io.Bytable>

  • 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 with ZooKeeperMasterInterceptor, ZooKeeperWorkerInterceptor is used to read zookeeper server info from hdfs file.
    • Constructor Detail

      • ZooKeeperWorkerInterceptor

        public ZooKeeperWorkerInterceptor()
    • Method Detail

      • preApplication

        public void preApplication​(ml.shifu.guagua.worker.WorkerContext<MASTER_RESULT,​WORKER_RESULT> context)
        Specified by:
        preApplication in interface ml.shifu.guagua.worker.WorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,​WORKER_RESULT extends ml.shifu.guagua.io.Bytable>
        Overrides:
        preApplication in class ml.shifu.guagua.worker.BasicWorkerInterceptor<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,​WORKER_RESULT extends ml.shifu.guagua.io.Bytable>