HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims

This commit is contained in:
stack 2014-12-16 11:11:14 -08:00
parent 1359e87b17
commit e5d813c46b
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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");