new TTransportFactory(), new TTransportFactory(),
new TBinaryProtocol.Factory(), new TBinaryProtocol.Factory(), options);
HMSHandler.LOG.info("Started the new metaserver on port [" + port + "]...");
HMSHandler.LOG.info("Options.minWorkerThreads = " + options.minWorkerThreads);
HMSHandler.LOG.info("Options.maxWorkerThreads = " + options.maxWorkerThreads);
server.serve();
} catch (Throwable x) {
x.printStackTrace();
HMSHandler.LOG.error("Metastore Thrift Server threw an exception. Exiting...");
HMSHandler.LOG.error(StringUtils.stringifyException(x));
System.exit(1);