}
ThriftHiveMetastore.Iface client = HiveMetastores.create(metastoreHostPort.host,
metastoreHostPort.port);
HiveInputDescription inputDesc = new HiveInputDescription();
inputDesc.setDbName(opts.database);
inputDesc.setTableName(opts.table);
inputDesc.setPartitionFilter(opts.partitionFilter);
if (opts.requestNumSplits == 0) {
opts.requestNumSplits = opts.threads * opts.requestSplitsPerThread;
}
inputDesc.setNumSplits(opts.requestNumSplits);
HiveStats hiveStats = HiveUtils.statsOf(client, inputDesc);
System.err.println(hiveStats);
HiveConf hiveConf = new HiveConf(Tailer.class);