code: private void initialize(Configuration conf) throws IOException {
      InetSocketAddress socAddr = AvatarNode.getAddress(conf);
      int handlerCount = conf.getInt("hdfs.avatarnode.handler.count", 3);
  
      // create rpc server
      // no point to deserialize job file in Avatar node.
      this.server = RPC.getServer(this, socAddr.getAddress().getHostAddress(), socAddr.getPort(),
          handlerCount, false, conf, false);
  
      // The rpc-server port can be ephemeral... ensure we have the 
      // correct info
      this.serverAddress = this.server.getListenerAddress();
      LOG.info("AvatarNode up at: " + this.serverAddress);
      this.registerMBean();
      this.server.start();
    }
docs: Initialize AvatarNode
  @param conf the configuration