You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/12/16 20:11:28 UTC
hbase git commit: HBASE-9431 Set 'hbase.bulkload.retries.number' to
10 as HBASE-8450 claims
Repository: hbase
Updated Branches:
refs/heads/master 1359e87b1 -> e5d813c46
HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e5d813c4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e5d813c4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e5d813c4
Branch: refs/heads/master
Commit: e5d813c46b41ab4fb48d72731eb34422f260b81a
Parents: 1359e87
Author: stack <st...@apache.org>
Authored: Tue Dec 16 11:11:14 2014 -0800
Committer: stack <st...@apache.org>
Committed: Tue Dec 16 11:11:14 2014 -0800
----------------------------------------------------------------------
hbase-common/src/main/resources/hbase-default.xml | 2 +-
.../org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/e5d813c4/hbase-common/src/main/resources/hbase-default.xml
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index b9e96db..9d76dad 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -549,7 +549,7 @@ possible configurations would overwhelm and obscure the important.
<!--Miscellaneous configuration-->
<property>
<name>hbase.bulkload.retries.number</name>
- <value>0</value>
+ <value>10</value>
<description>Maximum retries. This is maximum number of iterations
to atomic bulk loads are attempted in the face of splitting operations
0 means never give up.</description>
http://git-wip-us.apache.org/repos/asf/hbase/blob/e5d813c4/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
index 26ef8ae..b4b6adc 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java
@@ -306,7 +306,7 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
+ count + " with " + queue.size() + " files remaining to group or split");
}
- int maxRetries = getConf().getInt("hbase.bulkload.retries.number", 0);
+ int maxRetries = getConf().getInt("hbase.bulkload.retries.number", 10);
if (maxRetries != 0 && count >= maxRetries) {
throw new IOException("Retry attempted " + count +
" times without completing, bailing out");