.setMaxRetries(5)
.setRetrySleep(new Duration(1, TimeUnit.SECONDS))
.setRetryTimeout(new Duration(30, TimeUnit.SECONDS));
try (final ThriftClientManager clientManager = new ThriftClientManager()) {
final ThriftClientConfig clientConfig = new ThriftClientConfig();
final HiveMetastoreFactory factory = new SimpleHiveMetastoreFactory(clientManager, clientConfig, metastoreConfig);
try (final HiveMetastore metastore = factory.getDefaultClient()) {
assertFalse(metastore.isConnected());
metastore.getTable("hello", "world");