Skip to content

HBASE-22481: Javadoc Warnings reference not found - #254

Merged
petersomogyi merged 4 commits into
apache:masterfrom
murtazahassan123:HBASE-22481
Jun 8, 2019
Merged

HBASE-22481: Javadoc Warnings reference not found#254
petersomogyi merged 4 commits into
apache:masterfrom
murtazahassan123:HBASE-22481

Conversation

@murtazahassan123

Copy link
Copy Markdown
Contributor

Fixed the warnings javadoc warnings for MultiTableSnapshotInputFormat.java file.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec31Docker mode activated.
_ Prechecks _
+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.
_ master Compile Tests _
+1mvninstall238master passed
+1compile23master passed
+1checkstyle15master passed
+1shadedjars250branch has no errors when building our shaded downstream artifacts.
+1findbugs40master passed
+1javadoc16master passed
_ Patch Compile Tests _
+1mvninstall229the patch passed
+1compile24the patch passed
+1javac24the patch passed
-1checkstyle15hbase-mapreduce: The patch generated 4 new + 6 unchanged - 0 fixed = 10 total (was 6)
+1whitespace0The patch has no whitespace issues.
+1shadedjars253patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck947Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.
+1findbugs47the patch passed
+1javadoc16the patch passed
_ Other Tests _
-1unit934hbase-mapreduce in the patch failed.
+1asflicense14The patch does not generate ASF License warnings.
3396
ReasonTests
Failed junit testshadoop.hbase.snapshot.TestExportSnapshotNoCluster
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/1/artifact/out/Dockerfile
GITHUB PR#254
JIRA IssueHBASE-22481
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 04036793b50b 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 / 73267d9
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/1/artifact/out/diff-checkstyle-hbase-mapreduce.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/1/artifact/out/patch-unit-hbase-mapreduce.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/1/testReport/
Max. process+thread count5509 (vs. ulimit of 10000)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec104Docker mode activated.
_ Prechecks _
+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.
_ master Compile Tests _
0mvndep54Maven dependency ordering for branch
+1mvninstall364master passed
+1compile45master passed
+1checkstyle146master passed
+1shadedjars317branch has no errors when building our shaded downstream artifacts.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs66master passed
+1javadoc35master passed
_ Patch Compile Tests _
0mvndep17Maven dependency ordering for patch
+1mvninstall302the patch passed
+1compile45the patch passed
+1javac45the patch passed
+1checkstyle141the patch passed
+1whitespace0The patch has no whitespace issues.
+1xml5The patch has no ill-formed XML file.
+1shadedjars308patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck1240Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs68the patch passed
+1javadoc32the patch passed
_ Other Tests _
+1unit15hbase-checkstyle in the patch passed.
-1unit1886hbase-mapreduce in the patch failed.
+1asflicense28The patch does not generate ASF License warnings.
5657
ReasonTests
Failed junit testshadoop.hbase.snapshot.TestExportSnapshotNoCluster
hadoop.hbase.snapshot.TestMobExportSnapshot
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/2/artifact/out/Dockerfile
GITHUB PR#254
JIRA IssueHBASE-22481
Optional Testsdupname asflicense checkstyle javac javadoc unit xml findbugs shadedjars hadoopcheck hbaseanti compile
unameLinux 05a1e6d3d251 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 / 73267d9
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/2/artifact/out/patch-unit-hbase-mapreduce.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/2/testReport/
Max. process+thread count5278 (vs. ulimit of 10000)
modulesC: hbase-checkstyle hbase-mapreduce U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

<suppress checks="IllegalImport" message="org\.apache\.htrace\.core"/>
<suppress checks="ImportOrder" message="Extra separation in import group before"/>
<suppress checks="MethodLength" files="DemoClient.java"/>
<suppress checks="LineLength" files="MultiTableSnapshotInputFormat.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.

Could you please check if it is possible to add the package name to the file suppression?

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.

I have checked and it is possible. Please find the latest commit.

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.

Is it possible to suppress LineLenght check only on the offending lines in the javadoc instead of completely ignoring it in the org.apache.hadoop.hbase.mapred package?

https://stackoverflow.com/a/30070188/3521345

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.

Thanks i will look into it.

@murtazahassan123murtazahassan123Jun 7, 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.

I have suppressed LineLength check only on the offending lines in the javadoc using "@SuppressWarnings" annotation. Kindly check the 4th commit for this change.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec171Docker mode activated.
_ Prechecks _
+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.
_ master Compile Tests _
0mvndep19Maven dependency ordering for branch
+1mvninstall260master passed
+1compile35master passed
+1checkstyle135master passed
+1shadedjars265branch has no errors when building our shaded downstream artifacts.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs40master passed
+1javadoc25master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall249the patch passed
+1compile34the patch passed
+1javac34the patch passed
+1checkstyle132the patch passed
+1whitespace0The patch has no whitespace issues.
+1xml2The patch has no ill-formed XML file.
+1shadedjars269patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck982Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs48the patch passed
+1javadoc29the patch passed
_ Other Tests _
+1unit11hbase-checkstyle in the patch passed.
+1unit1466hbase-mapreduce in the patch passed.
+1asflicense30The patch does not generate ASF License warnings.
4538
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/3/artifact/out/Dockerfile
GITHUB PR#254
JIRA IssueHBASE-22481
Optional Testsdupname asflicense checkstyle javac javadoc unit xml findbugs shadedjars hadoopcheck hbaseanti compile
unameLinux 69c962728c09 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 9709056
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-254/3/testReport/
Max. process+thread count5475 (vs. ulimit of 10000)
modulesC: hbase-checkstyle hbase-mapreduce U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

…t check only on the offending lines in the javadoc
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec24Docker mode activated.
_ Prechecks _
+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.
_ master Compile Tests _
0mvndep26Maven dependency ordering for branch
+1mvninstall253master passed
+1compile36master passed
+1checkstyle128master passed
+1shadedjars257branch has no errors when building our shaded downstream artifacts.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs38master passed
+1javadoc29master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall236the patch passed
+1compile35the patch passed
+1javac35the patch passed
+1checkstyle128root: The patch generated 0 new + 2 unchanged - 4 fixed = 2 total (was 6)
+1whitespace0The patch has no whitespace issues.
+1xml5The patch has no ill-formed XML file.
+1shadedjars262patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck720Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
0findbugs0Skipped patched modules with no Java source: hbase-checkstyle
+1findbugs47the patch passed
+1javadoc27the patch passed
_ Other Tests _
+1unit12hbase-checkstyle in the patch passed.
-1unit939hbase-mapreduce in the patch failed.
+1asflicense30The patch does not generate ASF License warnings.
3570
ReasonTests
Failed junit testshadoop.hbase.snapshot.TestExportSnapshotNoCluster
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/4/artifact/out/Dockerfile
GITHUB PR#254
JIRA IssueHBASE-22481
Optional Testsdupname asflicense checkstyle javac javadoc unit xml findbugs shadedjars hadoopcheck hbaseanti compile
unameLinux 57384b6d3df1 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 / 302a9ce
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/4/artifact/out/patch-unit-hbase-mapreduce.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/4/testReport/
Max. process+thread count5542 (vs. ulimit of 10000)
modulesC: hbase-checkstyle hbase-mapreduce U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-254/4/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@petersomogyipetersomogyi 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.

Neat solution! Thanks @SyedMurtazaHassan!

@petersomogyi
petersomogyi merged commit b32e716 into apache:masterJun 8, 2019
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.

4 participants

@murtazahassan123@Apache-HBase@HorizonNet@petersomogyi