Skip to content

HBASE-23246 Fix error prone warning in TestMetricsUserSourceImpl #789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

apurtell
Copy link
Contributor

@apurtell apurtell commented Nov 2, 2019

The self comparison check in TestMetricsUserSourceImpl triggers error-prone and is of little value, remove it.

@apurtell apurtell requested a review from busbey November 2, 2019 18:02
@apurtell
Copy link
Contributor Author

apurtell commented Nov 2, 2019

Thanks for reporting this @busbey

@apurtell
Copy link
Contributor Author

apurtell commented Nov 2, 2019

The error-prone result is:

TestMetricsUserSourceImpl.java:[50,29] [SelfComparison] An object is compared to itself

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 32s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
💚 mvninstall 8m 29s branch-1 passed
💚 compile 0m 14s branch-1 passed with JDK v1.8.0_232
💚 compile 0m 17s branch-1 passed with JDK v1.7.0_242
💚 checkstyle 0m 18s branch-1 passed
💚 shadedjars 3m 10s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 19s branch-1 passed with JDK v1.8.0_232
💚 javadoc 0m 16s branch-1 passed with JDK v1.7.0_242
💙 spotbugs 0m 50s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 0m 46s branch-1 passed
_ Patch Compile Tests _
💚 mvninstall 2m 5s the patch passed
💚 compile 0m 14s the patch passed with JDK v1.8.0_232
💚 javac 0m 14s the patch passed
💚 compile 0m 17s the patch passed with JDK v1.7.0_242
💚 javac 0m 17s the patch passed
💚 checkstyle 0m 14s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 3m 5s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 5m 15s Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚 javadoc 0m 13s the patch passed with JDK v1.8.0_232
💚 javadoc 0m 17s the patch passed with JDK v1.7.0_242
💚 findbugs 0m 50s the patch passed
_ Other Tests _
💚 unit 0m 35s hbase-hadoop2-compat in the patch passed.
💚 asflicense 0m 15s The patch does not generate ASF License warnings.
31m 26s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-789/1/artifact/out/Dockerfile
GITHUB PR #789
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 7b06f8a753de 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-789/out/precommit/personality/provided.sh
git revision branch-1 / 2451023
Default Java 1.7.0_242
Multi-JDK versions /usr/lib/jvm/zulu-8-amd64:1.8.0_232 /usr/lib/jvm/zulu-7-amd64:1.7.0_242
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-789/1/testReport/
Max. process+thread count 77 (vs. ulimit of 10000)
modules C: hbase-hadoop2-compat U: hbase-hadoop2-compat
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-789/1/console
versions git=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@guangxuCheng guangxuCheng left a comment

Choose a reason for hiding this comment

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

+1

@apurtell apurtell merged commit 3f9ce86 into apache:branch-1 Nov 4, 2019
@apurtell apurtell deleted the HBASE-23246-branch-1 branch November 4, 2019 18:08
@apurtell
Copy link
Contributor Author

apurtell commented Nov 4, 2019

Thanks for the reviews!

Sign up for free to 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.

5 participants