Skip to content

HBASE-22509 Address findbugs/spotbugs complaints (branch-1.4) - #277

Merged
apurtell merged 1 commit into
apache:branch-1.4from
apurtell:HBASE-22509-branch-1.4
Jun 3, 2019
Merged

HBASE-22509 Address findbugs/spotbugs complaints (branch-1.4)#277
apurtell merged 1 commit into
apache:branch-1.4from
apurtell:HBASE-22509-branch-1.4

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

No description provided.

entry.getKey().add(entry.getValue());
}
if (we != null) mvcc.complete(we);
if (we != null) {

@apurtellapurtellMay 31, 2019

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to this file are a carrying forward of formatting changes from the branch-1.3 changes proposed on HBASE-22508 (#275). They don't address a findbugs issue, only try to keep the code as consistent as possible between branches.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec53Docker mode activated.
_ Prechecks _
0findbugs0Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
-0test4tests0The 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.
_ branch-1.4 Compile Tests _
0mvndep15Maven dependency ordering for branch
+1mvninstall132branch-1.4 passed
+1compile72branch-1.4 passed with JDK v1.8.0_212
+1compile80branch-1.4 passed with JDK v1.7.0_222
+1checkstyle124branch-1.4 passed
+1shadedjars164branch has no errors when building our shaded downstream artifacts.
+1javadoc62branch-1.4 passed with JDK v1.8.0_212
+1javadoc81branch-1.4 passed with JDK v1.7.0_222
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall123the patch passed
+1compile76the patch passed with JDK v1.8.0_212
+1javac76the patch passed
+1compile84the patch passed with JDK v1.7.0_222
+1javac84the patch passed
+1checkstyle26The patch passed checkstyle in hbase-common
+1checkstyle12The patch passed checkstyle in hbase-hadoop2-compat
+1checkstyle89hbase-server: The patch generated 0 new + 368 unchanged - 3 fixed = 368 total (was 371)
+1whitespace0The patch has no whitespace issues.
+1shadedjars179patch has no errors when building our shaded downstream artifacts.
-1hadoopcheck78The patch causes 26 errors with Hadoop v2.4.1.
-1hadoopcheck170The patch causes 26 errors with Hadoop v2.5.2.
-1hadoopcheck251The patch causes 16 errors with Hadoop v2.6.5.
+1javadoc62the patch passed with JDK v1.8.0_212
+1javadoc80the patch passed with JDK v1.7.0_222
_ Other Tests _
+1unit150hbase-common in the patch passed.
+1unit31hbase-hadoop2-compat in the patch passed.
-1unit11055hbase-server in the patch failed.
+1asflicense65The patch does not generate ASF License warnings.
13289
ReasonTests
Failed junit testshadoop.hbase.TestFullLogReconstruction
hadoop.hbase.master.normalizer.TestSimpleRegionNormalizerOnCluster
hadoop.hbase.master.procedure.TestDeleteColumnFamilyProcedure
hadoop.hbase.regionserver.TestRegionReplicaFailover
hadoop.hbase.master.TestMasterBalanceThrottling
hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
hadoop.hbase.master.procedure.TestEnableTableProcedure
hadoop.hbase.regionserver.TestSplitTransactionOnCluster
hadoop.hbase.master.procedure.TestCreateTableProcedure
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/artifact/out/Dockerfile
GITHUB PR#277
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c5095b3da94a 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1.4 / a4ac174
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/artifact/out/patch-javac-2.4.1.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/artifact/out/patch-javac-2.5.2.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/artifact/out/patch-javac-2.6.5.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/testReport/
Max. process+thread count4069 (vs. ulimit of 10000)
modulesC: hbase-common hbase-hadoop2-compat hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

The precommit results looks environmental in nature. Failures begin with ZK session timeouts. This patch is almost identical to the 1.3 and branch-1 patches, both of which had good precommit results. I' still waiting for a valid result on the JIRA (https://issues.apache.org/jira/browse/HBASE-22509). Let me recommit and force push to trigger another run here.

@apurtell
apurtellforce-pushed the HBASE-22509-branch-1.4 branch from e9670d7 to a6dadecCompareMay 31, 2019 18:11
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec35Docker mode activated.
_ Prechecks _
0findbugs0Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
-0test4tests0The 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.
_ branch-1.4 Compile Tests _
0mvndep20Maven dependency ordering for branch
+1mvninstall158branch-1.4 passed
+1compile67branch-1.4 passed with JDK v1.8.0_212
+1compile91branch-1.4 passed with JDK v1.7.0_222
+1checkstyle153branch-1.4 passed
+1shadedjars150branch has no errors when building our shaded downstream artifacts.
+1javadoc59branch-1.4 passed with JDK v1.8.0_212
+1javadoc72branch-1.4 passed with JDK v1.7.0_222
_ Patch Compile Tests _
0mvndep12Maven dependency ordering for patch
+1mvninstall91the patch passed
+1compile64the patch passed with JDK v1.8.0_212
+1javac64the patch passed
+1compile75the patch passed with JDK v1.7.0_222
+1javac75the patch passed
-1checkstyle84hbase-server: The patch generated 3 new + 365 unchanged - 6 fixed = 368 total (was 371)
+1whitespace0The patch has no whitespace issues.
+1shadedjars152patch has no errors when building our shaded downstream artifacts.
-1hadoopcheck84The patch causes 26 errors with Hadoop v2.4.1.
-1hadoopcheck169The patch causes 26 errors with Hadoop v2.5.2.
-1hadoopcheck263The patch causes 16 errors with Hadoop v2.6.5.
+1javadoc56the patch passed with JDK v1.8.0_212
+1javadoc77the patch passed with JDK v1.7.0_222
_ Other Tests _
+1unit151hbase-common in the patch passed.
+1unit32hbase-hadoop2-compat in the patch passed.
+1unit6605hbase-server in the patch passed.
+1asflicense50The patch does not generate ASF License warnings.
8750
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/artifact/out/Dockerfile
GITHUB PR#277
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux fd47202b5fde 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1.4 / 8f60ed5
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/artifact/out/diff-checkstyle-hbase-server.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/artifact/out/patch-javac-2.4.1.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/artifact/out/patch-javac-2.5.2.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/artifact/out/patch-javac-2.6.5.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/testReport/
Max. process+thread count4476 (vs. ulimit of 10000)
modulesC: hbase-common hbase-hadoop2-compat hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

QA result over on JIRA: https://issues.apache.org/jira/browse/HBASE-22509?focusedCommentId=16853428&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16853428

hadoopcheck failures are due to another change that introduced test code that twiddles with log levels. Let me follow up separately on that.

Unit test failure here is unrelated to patch:

 TestReplicationKillSlaveRS.killOneSlaveRS ? RetriesExhausted Failed after atte...

The reported checkstyle issues are javadoc nits which are not introduced by this change.

@busbey

Copy link
Copy Markdown
Contributor

those hadoop check versions look wrong. branch-1.4 isn't expected to work with Hadoop < 2.7. Looks like the personality is treating it like branch-1.2 and branch-1.3.

@busbey

Copy link
Copy Markdown
Contributor

Signed-off-by: Sean Busbey <busbey@apache.org>
@apurtell
apurtellforce-pushed the HBASE-22509-branch-1.4 branch from a6dadec to 21ab426CompareJune 3, 2019 18:31
@apurtell
apurtell merged commit 81efa17 into apache:branch-1.4Jun 3, 2019
@apurtell
apurtell deleted the HBASE-22509-branch-1.4 branch June 3, 2019 18:34
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec31Docker mode activated.
-1patch10#277 does not apply to branch-1.4. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/3/artifact/out/Dockerfile
GITHUB PR#277
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-277/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@apurtell@Apache-HBase@busbey