Skip to content

HBASE-23230 Enforce member visibility in HRegionServer - #806

Merged
ndimiduk merged 1 commit into
apache:branch-2from
ndimiduk:23230-hregionserver-member-visibility-branch-2
Nov 8, 2019
Merged

HBASE-23230 Enforce member visibility in HRegionServer#806
ndimiduk merged 1 commit into
apache:branch-2from
ndimiduk:23230-hregionserver-member-visibility-branch-2

Conversation

@ndimiduk

Copy link
Copy Markdown
Member

A backport of #775 to branch-2.

 * Clean up a bunch of private variable leakage into other
classes. Reduces visibility as much as possible, providing getters
where access remains necessary or making use of getters that
already exist. There remains an insidious relationship between
`HRegionServer` and `RSRpcServices`.
* Rename `fs` to `dataFs`, `rootDir` as `dataRootDir` so as to
distinguish from the new `walFs`, `walRootDir` (and make it easier
to spot bugs).
* Cleanup or delete a bunch of lack-luster javadoc comments.
* Delete a handful of methods that are unused according to static
analysis.
* Reduces the warning count as reported by IntelliJ from 100 to 7.
Signed-off-by: stack <stack@apache.org>
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec0m 50sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 13 new or modified test files.
_ branch-2 Compile Tests _
💚mvninstall6m 48sbranch-2 passed
💚compile1m 10sbranch-2 passed
💚checkstyle1m 47sbranch-2 passed
💚shadedjars5m 18sbranch has no errors when building our shaded downstream artifacts.
💚javadoc0m 43sbranch-2 passed
💙spotbugs4m 5sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs4m 1sbranch-2 passed
_ Patch Compile Tests _
💚mvninstall6m 29sthe patch passed
💚compile1m 7sthe patch passed
💔javac1m 7shbase-server generated 1 new + 3 unchanged - 3 fixed = 4 total (was 6)
💔checkstyle1m 44shbase-server: The patch generated 5 new + 286 unchanged - 41 fixed = 291 total (was 327)
💚whitespace0m 0sThe patch has no whitespace issues.
💚shadedjars5m 25spatch has no errors when building our shaded downstream artifacts.
💚hadoopcheck20m 21sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚javadoc0m 40sthe patch passed
💚findbugs4m 7sthe patch passed
_ Other Tests _
💚unit172m 46shbase-server in the patch passed.
💚asflicense0m 34sThe patch does not generate ASF License warnings.
242m 1s
SubsystemReport/Notes
DockerClient=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/Dockerfile
GITHUB PR#806
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 2ca3fa813acc 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-806/out/precommit/personality/provided.sh
git revisionbranch-2 / d1864ae
Default Java1.8.0_181
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/diff-compile-javac-hbase-server.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/testReport/
Max. process+thread count4251 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
ndimiduk merged commit f42b2aa into apache:branch-2Nov 8, 2019
@ndimiduk
ndimiduk deleted the 23230-hregionserver-member-visibility-branch-2 branch November 8, 2019 21:56
infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
…pache#806)
* Clean up a bunch of private variable leakage into other
classes. Reduces visibility as much as possible, providing getters
where access remains necessary or making use of getters that
already exist. There remains an insidious relationship between
`HRegionServer` and `RSRpcServices`.
* Rename `fs` to `dataFs`, `rootDir` as `dataRootDir` so as to
distinguish from the new `walFs`, `walRootDir` (and make it easier
to spot bugs).
* Cleanup or delete a bunch of lack-luster javadoc comments.
* Delete a handful of methods that are unused according to static
analysis.
* Reduces the warning count as reported by IntelliJ from 100 to 7.
Signed-off-by: stack <stack@apache.org>
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.

2 participants

@ndimiduk@Apache-HBase