HBASE-12642 LoadIncrementalHFiles does not throw exception after hitting hbase.bulkload.retries.number setting
This commit is contained in:
parent
1ec6609b97
commit
415ad6b686
|
@ -308,8 +308,8 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
|
||||||
|
|
||||||
int maxRetries = getConf().getInt("hbase.bulkload.retries.number", 0);
|
int maxRetries = getConf().getInt("hbase.bulkload.retries.number", 0);
|
||||||
if (maxRetries != 0 && count >= maxRetries) {
|
if (maxRetries != 0 && count >= maxRetries) {
|
||||||
LOG.error("Retry attempted " + count + " times without completing, bailing out");
|
throw new IOException("Retry attempted " + count +
|
||||||
return;
|
" times without completing, bailing out");
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue