[ https://issues.apache.org/jira/browse/HBASE-12642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236284#comment-14236284 ]
Hadoop QA commented on HBASE-12642: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12685349/12642-v1.txt against master branch at commit 1ec6609b978033550d4ead35de0ab5344b789bd1. ATTACHMENT ID: 12685349 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 9 warning messages. {color:green}+1 checkstyle{color}. The applied patch does not increase the total number of checkstyle errors {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 site{color}. The mvn site goal succeeds with this patch. {color:green}+1 core tests{color}. The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-rest.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Checkstyle Errors: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/checkstyle-aggregate.html Javadoc warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//artifact/patchprocess/patchJavadocWarnings.txt Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11958//console This message is automatically generated. > LoadIncrementalHFiles does not throw exception after hitting > hbase.bulkload.retries.number setting > -------------------------------------------------------------------------------------------------- > > Key: HBASE-12642 > URL: https://issues.apache.org/jira/browse/HBASE-12642 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.98.1 > Environment: RedHat 6.6 > Java 1.7.0_65 > HBase 0.98.1-cdh5.1.0 > Hadoop 2.3.0-mr1-cdh5.1.0 > Reporter: Erik Ingle > Assignee: Ted Yu > Priority: Minor > Attachments: 12642-v1.txt > > > Related to [HBASE-8367|https://issues.apache.org/jira/browse/HBASE-8367] > there is no programmatic way to determine if the > hbase.bulkload.retries.number value has been hit. Callers of doBulkLoad have > no way to determine other than log examination whether the bulk load was > actually successful. > Here is the relevant code sections: > {code:title=LoadIncrementalHFiles.java|borderStyle=solid} > public void doBulkLoad ... > { > try { > ... > if (maxRetries != 0 && count >= maxRetries) { > LOG.error("Retry attempted " + count + " times without > completing, bailing out"); > return; > } > ... > } finally { > ... > pool.shutdown(); > if (queue != null && !queue.isEmpty()) { > StringBuilder err = new StringBuilder(); > err.append("-------------------------------------------------\n"); > err.append("Bulk load aborted with some files not yet loaded:\n"); > err.append("-------------------------------------------------\n"); > for (LoadQueueItem q : queue) { > err.append(" ").append(q.hfilePath).append('\n'); > } > 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."); > } > {code} > One possible solution is to move the throw new RuntimeException clause at the > end into the finally block. The exception is currently never thrown for max > retries due to the return in the initial if statement. -- This message was sent by Atlassian JIRA (v6.3.4#6332)