Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ private static boolean partitionDiscoveryEnabled(Map<String, String> params) {
@Override
public void run() {
if (lock.tryLock()) {
String qualifiedTableName = null;
IMetaStoreClient msc = null;
try {
msc = new HiveMetaStoreClient(conf);
Expand Down Expand Up @@ -120,12 +119,12 @@ public void run() {
// this always runs in 'sync' mode where partitions can be added and dropped
MsckInfo msckInfo = new MsckInfo(table.getCat(), table.getDb(), table.getTable(),
null, null, true, true, true, -1);
executorService.submit(new MsckThread(msckInfo, msckConf, qualifiedTableName, countDownLatch));
executorService.submit(new MsckThread(msckInfo, msckConf, table.toString(), countDownLatch));
}
countDownLatch.await();
executorService.shutdownNow();
} catch (Exception e) {
LOG.error("Exception while running partition discovery task for table: " + qualifiedTableName, e);
LOG.error("Exception while running partition discovery task", e);
} finally {
if (msc != null) {
msc.close();
Expand Down
Loading