// Open the client connection
TTransport transport = new TSocket("localhost", 45872);
transport = new TFramedTransport(transport);
// scribe clients do not use strict write
TProtocol protocol = new TBinaryProtocol(transport, false, false);
transport.open();
scribe.Client client = new scribe.Client(protocol);
// Note - there is a tiny possibility of a race here, which is why we retry
for (int i = 0; i < 3; ++i) {
if (client.getStatus() != fb_status.ALIVE) {