Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2239#discussion_r185717770
  
    --- Diff: store/search/src/main/scala/org/apache/spark/rpc/Master.scala ---
    @@ -80,9 +83,32 @@ class Master(sparkConf: SparkConf, port: Int) {
               rpcEnv = new NettyRpcEnvFactory().create(config)
               val registryEndpoint: RpcEndpoint = new Registry(rpcEnv, 
Master.this)
               rpcEnv.setupEndpoint("registry-service", registryEndpoint)
    +          if (isStarted.compareAndSet(false, false)) {
    --- End diff --
    
    I think you can set it directly


---

Reply via email to