} catch (IOException ioe) {
LOG.error("Couldn't create client transport", ioe);
throw new MetaException(ioe.toString());
}
} else if (useFramedTransport) {
transport = new TFramedTransport(transport);
}
client = new ThriftHiveMetastore.Client(new TBinaryProtocol(transport));
try {
transport.open();