HBASE-12642 LoadIncrementalHFiles does not throw exception after hitting hbase.bulkload.retries.number setting

This commit is contained in:
tedyu 2014-12-05 18:40:50 -08:00
parent 004e977ba0
commit 2306a7fd96
1 changed files with 2 additions and 2 deletions

View File

@ -308,8 +308,8 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
int maxRetries = getConf().getInt("hbase.bulkload.retries.number", 0);
if (maxRetries != 0 && count >= maxRetries) {
LOG.error("Retry attempted " + count + " times without completing, bailing out");
return;
throw new IOException("Retry attempted " + count +
" times without completing, bailing out");
}
count++;