HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims
This commit is contained in:
parent
1359e87b17
commit
e5d813c46b
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue