diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index 8674308..4880b9b 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -3910,6 +3910,13 @@ public class HRegion implements HeapSize { // , Writable{ // recoverable (file doesn't fit in region) failures.add(p); } catch (IOException ioe) { + // ignore FileNotFoundException, file may be bulkload successfully, HBASE-14932 + if (ioe instanceof FileNotFoundException) { + LOG.warn("file not found, the file may have been bulkload successfully, ignoere [" + + path + "]"); + continue; + } + // unrecoverable (hdfs problem) ioes.add(ioe); } @@ -3966,6 +3973,12 @@ public class HRegion implements HeapSize { // , Writable{ bulkLoadListener.doneBulkLoad(familyName, path); } } catch (IOException ioe) { + // ignore FileNotFoundException, file may be bulkload successfully, HBASE-14932 + if (ioe instanceof FileNotFoundException) { + LOG.warn("file not found, the file may have been bulkload successfully, ignoere [" + + path + "]"); + continue; + } // A failure here can cause an atomicity violation that we currently // cannot recover from since it is likely a failed HDFS operation.