transport = stats;
}
TProtocol protocol = new TBinaryProtocol(transport);
transport.open();
client = new Client(protocol);
LOG.info("ThriftEventSink to {}:{} opened", host, port);
} catch (TTransportException e) {
throw new IOException("Failed to open thrift event sink to " + host + ":"
+ port + " : " + e.getMessage());