[ https://issues.apache.org/jira/browse/HBASE-12979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309885#comment-14309885 ]
Hadoop QA commented on HBASE-12979: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12697077/hbase-12979-v0-master.patch against master branch at commit 2583e8de574ae4b002c5dbc80b0da666b42dd699. ATTACHMENT ID: 12697077 {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:green}+1 javadoc{color}. The javadoc tool did not generate any 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/12718//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-rest.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Checkstyle Errors: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//artifact/patchprocess/checkstyle-aggregate.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/12718//console This message is automatically generated. > Use setters instead of return values for handing back statistics from HRegion > methods > ------------------------------------------------------------------------------------- > > Key: HBASE-12979 > URL: https://issues.apache.org/jira/browse/HBASE-12979 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.98.10 > Reporter: Andrew Purtell > Assignee: Jesse Yates > Labels: phoenix > Fix For: 0.98.10.1 > > Attachments: hbase-12979-v0-master.patch > > > In HBASE-5162 (and backports such as HBASE-12729) we modified some HRegion > methods to return statistics for consumption by callers. The statistics are > ultimately passed back to the client as load feedback. > [~lhofhansl] thinks handing back this information as return values from > HRegion methods is a weird mix of concerns. This also produced a difficult to > anticipate binary compatibility issue with Phoenix. There was no compile time > issue because the code of course was not structured to assign from a method > returning void, yet the method signature changes so the JVM cannot resolve it > if older Phoenix binaries are installed into a 0.98.10 release. Let's change > the HRegion methods back to returning 'void' and use setters instead. > Officially we don't support use of HRegion (HBASE-12566) but we do not need > to go out of our way to break things (smile) so I would also like to make a > patch release containing just this change to help out our sister project. -- This message was sent by Atlassian JIRA (v6.3.4#6332)