Skip to content

HBASE-23622 Reduced the number of Checkstyle violations in hbase-common - #968

Merged
HorizonNet merged 2 commits into
apache:masterfrom
ultratendency:HBASE-23622
Dec 28, 2019
Merged

HBASE-23622 Reduced the number of Checkstyle violations in hbase-common#968
HorizonNet merged 2 commits into
apache:masterfrom
ultratendency:HBASE-23622

Conversation

@HorizonNet

Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️test4tests0m 0sThe 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.
_ master Compile Tests _
+1 💚mvninstall5m 32smaster passed
+1 💚compile0m 24smaster passed
+1 💚checkstyle0m 28smaster passed
+1 💚shadedjars4m 39sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 23smaster passed
+0 🆗spotbugs0m 49sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs0m 48smaster passed
_ Patch Compile Tests _
+1 💚mvninstall4m 57sthe patch passed
+1 💚compile0m 22sthe patch passed
+1 💚javac0m 22sthe patch passed
-1 ❌checkstyle0m 25shbase-common: The patch generated 1 new + 0 unchanged - 21 fixed = 1 total (was 21)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 43spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 51sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 21sthe patch passed
+1 💚findbugs0m 53sthe patch passed
_ Other Tests _
+1 💚unit3m 18shbase-common in the patch passed.
+1 💚unit152m 35shbase-server in the patch passed.
+1 💚asflicense0m 33sThe patch does not generate ASF License warnings.
203m 17s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/1/artifact/out/Dockerfile
GITHUB PR#968
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 830ae7358f67 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-968/out/precommit/personality/provided.sh
git revisionmaster / e9b9980
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/1/artifact/out/diff-checkstyle-hbase-common.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/1/testReport/
Max. process+thread count4600 (vs. ulimit of 10000)
modulesC: hbase-common U: hbase-common
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️test4tests0m 0sThe 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.
_ master Compile Tests _
+1 💚mvninstall5m 27smaster passed
+1 💚compile0m 24smaster passed
+1 💚checkstyle0m 27smaster passed
+1 💚shadedjars4m 45sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 24smaster passed
+0 🆗spotbugs0m 50sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs0m 47smaster passed
_ Patch Compile Tests _
+1 💚mvninstall4m 56sthe patch passed
+1 💚compile0m 24sthe patch passed
+1 💚javac0m 24sthe patch passed
+1 💚checkstyle0m 26shbase-common: The patch generated 0 new + 0 unchanged - 21 fixed = 0 total (was 21)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 37spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 52sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 20sthe patch passed
+1 💚findbugs0m 53sthe patch passed
_ Other Tests _
+1 💚unit3m 17shbase-common in the patch passed.
+1 💚unit152m 36shbase-server in the patch passed.
+1 💚asflicense0m 34sThe patch does not generate ASF License warnings.
203m 21s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/2/artifact/out/Dockerfile
GITHUB PR#968
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b3dbca482e53 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-968/out/precommit/personality/provided.sh
git revisionmaster / 0ba84d8
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/2/testReport/
Max. process+thread count4573 (vs. ulimit of 10000)
modulesC: hbase-common U: hbase-common
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-968/2/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

* Checks buffer size to use and whether to do checksumming in hbase or hdfs.
* @param conf must not be null
*/
public static void setupShortCircuitRead(final Configuration conf) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not used?

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.

Doesn't seem to be the case. Removed it as CommonFSUtils is declared InterfaceAudience.Private.

@virajjasanivirajjasani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@HorizonNet@Apache-HBase@saintstack@virajjasani