bifCopyQueue.addWork(orig.getName(), (failure + "," + dest).getBytes(Constants.UTF8));
workIds.add(orig.getName());
log.debug("tid " + tid + " added to copyq: " + orig + " to " + dest + ": failed");
}
bifCopyQueue.waitUntilDone(workIds);
}
fs.delete(new Path(error, BulkImport.FAILURES_TXT), true);
return new CleanUpBulkImport(tableId, source, bulk, error);
}