HBASE-8367 LoadIncrementalHFiles does not return an error code nor throw Exception when failures occur due to timeouts (Brian Dougan)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1481988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86dc135a34
commit
429af3c930
|
@ -314,6 +314,11 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
|
|||
LOG.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
if (queue != null && !queue.isEmpty()) {
|
||||
throw new RuntimeException("Bulk load aborted with some files not yet loaded."
|
||||
+ "Please check log for more details.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue