Hbase.Processor<Hbase.Iface> processor =
new Hbase.Processor<Hbase.Iface>(handler);
ImplType implType = ImplType.getServerImpl(conf);
// Construct correct TransportFactory
TTransportFactory transportFactory;
if (conf.getBoolean(FRAMED_CONF_KEY, false) || implType.isAlwaysFramed) {
int maxFrameSize = conf.getInt(MAX_FRAME_SIZE_CONF_KEY, 2) * 1024 * 1024;
transportFactory = new TFramedTransport.Factory(maxFrameSize);
LOG.debug("Using framed transport");
} else {
transportFactory = new TTransportFactory();
}
if (conf.get(BIND_CONF_KEY) != null && !implType.canSpecifyBindIP) {
LOG.error("Server types " + Joiner.on(", ").join(
ImplType.serversThatCannotSpecifyBindIP()) + " don't support IP " +