InetSocketAddress initialIsa = new InetSocketAddress(hostName, 0);
if (initialIsa.getAddress() == null) {
throw new IllegalArgumentException("Failed resolve of " + initialIsa);
}
String name = "regionserver/" + initialIsa.toString();
this.rpcServer = new RpcServer(this, name, getServices(),
/*HBaseRPCErrorHandler.class, OnlineRegions.class},*/
initialIsa, // BindAddress is IP we got for this server.
hbaseConf.getInt("hbase.regionserver.handler.count", 10),
hbaseConf.getInt("hbase.regionserver.metahandler.count", 10),
hbaseConf, HConstants.QOS_THRESHOLD);