hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1482113 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
Date Mon, 13 May 2013 21:33:21 GMT
Author: tedyu
Date: Mon May 13 21:33:21 2013
New Revision: 1482113

URL: http://svn.apache.org/r1482113
Log:
HBASE-8367 LoadIncrementalHFiles does not return an error code nor throw Exception when failures
occur due to timeouts (Brian Dougan)


Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java?rev=1482113&r1=1482112&r2=1482113&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
Mon May 13 21:33:21 2013
@@ -290,6 +290,11 @@ public class LoadIncrementalHFiles exten
         LOG.error(err);
       }
     }
+    
+    if (queue != null && !queue.isEmpty()) {
+        throw new RuntimeException("Bulk load aborted with some files not yet loaded."
+          + "Please check log for more details.");
+    }
   }
 
   /**



Mime
View raw message