Skip to content

HBASE-19762 Fixed Checkstyle errors in hbase-http - #131

Merged
HorizonNet merged 1 commit into
apache:masterfrom
ultratendency:HBASE-19762
Apr 11, 2019
Merged

HBASE-19762 Fixed Checkstyle errors in hbase-http#131
HorizonNet merged 1 commit into
apache:masterfrom
ultratendency:HBASE-19762

Conversation

@HorizonNet

Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec273Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 10 new or modified test files.
_ master Compile Tests _
0mvndep24Maven dependency ordering for branch
+1mvninstall254master passed
+1compile32master passed
+1checkstyle136master passed
+1shadedjars264branch has no errors when building our shaded downstream artifacts.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs32master passed
+1javadoc26master passed
_ Patch Compile Tests _
0mvndep16Maven dependency ordering for patch
+1mvninstall249the patch passed
+1compile31the patch passed
+1javac31the patch passed
+1checkstyle133root: The patch generated 0 new + 0 unchanged - 143 fixed = 0 total (was 143)
+1whitespace0The patch has no whitespace issues.
+1xml3The patch has no ill-formed XML file.
+1shadedjars269patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck518Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs40the patch passed
+1javadoc26the patch passed
_ Other Tests _
+1unit12hbase-checkstyle in the patch passed.
+1unit56hbase-http in the patch passed.
+1asflicense22The patch does not generate ASF License warnings.
2506
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/1/artifact/out/Dockerfile
GITHUB PR#131
Optional Testsdupname asflicense checkstyle javac javadoc unit xml shadedjars hadoopcheck compile findbugs hbaseanti
unameLinux 055b27d5ba5f 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 89ce5d1
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/1/testReport/
Max. process+thread count281 (vs. ulimit of 10000)
modulesC: hbase-checkstyle hbase-http U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

<suppress checks="VisibilityModifier" files=".*/src/test/.*\.java"/>
<suppress checks="InterfaceIsTypeCheck" files=".*/src/main/.*\.java"/>
<suppress checks="EmptyBlockCheck" files="TBoundedThreadPoolServer.java"/>
<suppress checks="EmptyBlockCheck" files=".*/src/test/.*\.java"/>

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.

Maybe too general? We disable this check in our the tests?

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.

Yes, you're right. That's too general. Will change it.

@@ -1,4 +1,4 @@
/**
/*

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.

I think this should be **?

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.

Most of the time (example) I see it with a single *. I know that we use some kind of mixture. In IntelliJ this is also marked as a dangling JavaDoc 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.

But I think in HBase we usually use two stars, and also in hadoop? At least, our code template under the dev-support uses two stars.

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.

Ok, let me change it back to **.

@@ -1,4 +1,4 @@
/**
/*
*

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.

Remove the empty line?

@HorizonNet
HorizonNet requested a review from Apache9April 9, 2019 21:18
@HorizonNet

Copy link
Copy Markdown
ContributorAuthor

@Apache9 I updated the PR according to your feedback. Thanks for that.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec74Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 10 new or modified test files.
_ master Compile Tests _
0mvndep45Maven dependency ordering for branch
+1mvninstall333master passed
+1compile27master passed
+1checkstyle130master passed
+1shadedjars308branch has no errors when building our shaded downstream artifacts.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs70master passed
+1javadoc68master passed
_ Patch Compile Tests _
0mvndep33Maven dependency ordering for patch
+1mvninstall280the patch passed
+1compile28the patch passed
+1javac28the patch passed
+1checkstyle131root: The patch generated 0 new + 0 unchanged - 143 fixed = 0 total (was 143)
+1whitespace0The patch has no whitespace issues.
+1xml6The patch has no ill-formed XML file.
+1shadedjars261patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck507Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs38the patch passed
+1javadoc28the patch passed
_ Other Tests _
+1unit12hbase-checkstyle in the patch passed.
+1unit53hbase-http in the patch passed.
+1asflicense20The patch does not generate ASF License warnings.
2586
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/2/artifact/out/Dockerfile
GITHUB PR#131
Optional Testsdupname asflicense checkstyle javac javadoc unit xml shadedjars hadoopcheck compile findbugs hbaseanti
unameLinux e630cb7b8a9e 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 387a5da
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/2/testReport/
Max. process+thread count291 (vs. ulimit of 10000)
modulesC: hbase-checkstyle hbase-http U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@HorizonNet

Copy link
Copy Markdown
ContributorAuthor

@Apache9 Currently trying to figure out GitHubs merge capabilities. Normally we use Rebase and merge, but this time we have two commits. Should I use Sqash and merge instead or do we have another approach for handling such cases?

@Apache9

Copy link
Copy Markdown
Contributor

Please do a force push to your own branch to merge the two commits into one first, and then use 'Rebase and merge'.

There is a discussion thread on the dev list about disabling squash and merge so we'd better not use it for now.

@HorizonNet
HorizonNet merged commit fc6e3fc into apache:masterApr 11, 2019
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec0Docker mode activated.
-1patch7#131 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
GITHUB PR#131
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-131/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@HorizonNet
HorizonNet deleted the HBASE-19762 branch April 11, 2019 10:56
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.

3 participants

@HorizonNet@Apache-HBase@Apache9