hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1459468 - /hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
Date Thu, 21 Mar 2013 18:53:42 GMT
Author: liyin
Date: Thu Mar 21 18:53:41 2013
New Revision: 1459468

URL: http://svn.apache.org/r1459468
Log:
[0.89-fb] [HBASE-7852] fix TestLoadIncrementalHFiles

Author: aaiyer

Summary:
TestIncrementalHFiles  does not use the Tool.run() mechanism to
do the bulk load.

In order to fix the test, ensure that we pick up the default options in
the constructor. If Tool.run() is called, the default options are overridden.

Test Plan: TestLoadIncrementalHFiles

Reviewers: liyintang

Reviewed By: liyintang

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D718323

Blame Revision: https://phabricator.fb.com/D693206

Modified:
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java?rev=1459468&r1=1459467&r2=1459468&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
Thu Mar 21 18:53:41 2013
@@ -76,6 +76,8 @@ public class LoadIncrementalHFiles exten
 
   public LoadIncrementalHFiles(Configuration conf) {
     super(conf);
+    assignSeqIds = conf.getBoolean(ASSIGN_SEQ_IDS, true);
+    exitOnFirstFailure = conf.getBoolean(EXIT_ON_FIRST_FAILURE, true);
   }
 
   public LoadIncrementalHFiles() {



Mime
View raw message