Skip to content

PHOENIX-6349 Add and use commons-cli to phoenix-thirdparty - #1122

Closed
stoty wants to merge 2 commits into
apache:masterfrom
stoty:PHOENIX-6349
Closed

PHOENIX-6349 Add and use commons-cli to phoenix-thirdparty#1122
stoty wants to merge 2 commits into
apache:masterfrom
stoty:PHOENIX-6349

Conversation

@stoty

Copy link
Copy Markdown
Contributor

This is an test version the finle one needs to set thirdpart-version to 1.1.0

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 32sDocker 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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep4m 44sMaven dependency ordering for branch
+1 💚mvninstall11m 21smaster passed
+0hbaserecompile22m 53sHBase recompiled.
+1 💚compile1m 35smaster passed
+1 💚checkstyle1m 47smaster passed
+1 💚javadoc3m 2smaster passed
+0 🆗spotbugs4m 41sroot in master has 1004 extant spotbugs warnings.
+0 🆗spotbugs3m 31sphoenix-core in master has 954 extant spotbugs warnings.
+0 🆗spotbugs0m 49sphoenix-pherf in master has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 42sphoenix-tools in master has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
-1 ❌mvninstall0m 23sroot in the patch failed.
+0hbaserecompile7m 7sHBase recompiled.
-1 ❌compile0m 29sroot in the patch failed.
-1 ❌javac0m 29sroot in the patch failed.
-1 ❌checkstyle0m 16sThe patch fails to run checkstyle in root
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 31sroot in the patch failed.
-1 ❌javadoc0m 13sphoenix-core in the patch failed.
-1 ❌javadoc0m 13sphoenix-pherf in the patch failed.
-1 ❌javadoc0m 15sphoenix-tools in the patch failed.
-1 ❌spotbugs0m 58sroot in the patch failed.
-1 ❌spotbugs0m 14sphoenix-core in the patch failed.
-1 ❌spotbugs0m 14sphoenix-pherf in the patch failed.
-1 ❌spotbugs0m 13sphoenix-tools in the patch failed.
_ Other Tests _
-1 ❌unit0m 32sroot in the patch failed.
-1 ❌asflicense0m 59sThe patch generated 611 ASF License warnings.
57m 54s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1122
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaserebuild hbaseanti checkstyle
unameLinux 6db35844f80c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 22f7d41
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstallhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-javadoc-phoenix-core.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-javadoc-phoenix-pherf.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-javadoc-phoenix-tools.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix-pherf.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix-tools.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count94 (vs. ulimit of 30000)
modulesC: . phoenix-core phoenix-pherf phoenix-tools U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/1/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelser

Copy link
Copy Markdown
Member

Is it possible to write an enforcer rule to prevent imports of the non-shaded commons-cli packages? I think HBase has something you can copy (if you don't already know how to do this off the top of your head)

This is a test version that depends on phoenix-thirdparty 1.1.0-SNAPSHOT
@stoty

Copy link
Copy Markdown
ContributorAuthor

Yes, Viraj has just added the feature a few weeks ago.
However, in this case we cannot use it (at least for HBase 1) as we are extending some HBase test classes that unshaded commons-cli.
I'll try to add it to master, though.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker 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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep4m 40sMaven dependency ordering for branch
+1 💚mvninstall12m 49smaster passed
+0hbaserecompile24m 42sHBase recompiled.
+1 💚compile1m 31smaster passed
+1 💚checkstyle1m 45smaster passed
+1 💚javadoc3m 8smaster passed
+0 🆗spotbugs4m 55sroot in master has 1004 extant spotbugs warnings.
+0 🆗spotbugs3m 9sphoenix-core in master has 954 extant spotbugs warnings.
+0 🆗spotbugs0m 47sphoenix-pherf in master has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 44sphoenix-tools in master has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for patch
+1 💚mvninstall8m 45sthe patch passed
+0hbaserecompile15m 55sHBase recompiled.
+1 💚compile1m 34sthe patch passed
+1 💚javac1m 34sthe patch passed
-1 ❌checkstyle1m 42sroot: The patch generated 28 new + 2739 unchanged - 28 fixed = 2767 total (was 2767)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
+1 💚javadoc3m 1sthe patch passed
-1 ❌spotbugs3m 21sphoenix-core generated 9 new + 945 unchanged - 9 fixed = 954 total (was 954)
-1 ❌spotbugs1m 7sphoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌spotbugs1m 0sphoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌spotbugs4m 56sroot generated 11 new + 993 unchanged - 11 fixed = 1004 total (was 1004)
_ Other Tests _
-1 ❌unit103m 19sroot in the patch failed.
-1 ❌asflicense2m 58sThe patch generated 611 ASF License warnings.
184m 42s
ReasonTests
FindBugsmodule:phoenix-core
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:[line 137]
Null passed for non-null parameter of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:[line 181]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:[line 185]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:[line 181]
org.apache.phoenix.mapreduce.index.IndexTool.populateIndexToolAttributes(CommandLine) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead At IndexTool.java:constructor; use Long.valueOf(String) instead At IndexTool.java:[line 857]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:[line 355]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:[line 240]
Null passed for non-null parameter of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:[line 210]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:[line 276]
FindBugsmodule:phoenix-pherf
Boxing/unboxing to parse a primitive org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:[line 207]
FindBugsmodule:phoenix-tools
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:[line 94]
FindBugsmodule:root
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:[line 137]
Null passed for non-null parameter of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:[line 181]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:[line 185]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:[line 181]
org.apache.phoenix.mapreduce.index.IndexTool.populateIndexToolAttributes(CommandLine) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead At IndexTool.java:constructor; use Long.valueOf(String) instead At IndexTool.java:[line 857]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:[line 355]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:[line 240]
Null passed for non-null parameter of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:[line 210]
Boxing/unboxing to parse a primitive org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:[line 207]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:[line 94]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:[line 276]
Failed junit testsphoenix.end2end.PermissionNSEnabledWithCustomAccessControllerIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1122
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaserebuild hbaseanti checkstyle
unameLinux 04b4cde9fdce 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 22f7d41
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-tools.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/new-spotbugs-root.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count12550 (vs. ulimit of 30000)
modulesC: phoenix-core phoenix-pherf phoenix-tools . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/2/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Comment threadpom.xml
<hbase.thirdparty.version>2.2.1</hbase.thirdparty.version>

<phoenix.thirdparty.version>1.0.0</phoenix.thirdparty.version>
<phoenix.thirdparty.version>1.1.0-SNAPSHOT</phoenix.thirdparty.version>

@yanxinyiyanxinyiJan 29, 2021

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.

we will replace the release version after the phoenix 3rd party release right?
should we wait and then merge this?

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.

We shouldn't release 4.16/5.1with snapshot dependecies.

We can either merge this now, and update when we release thirdparty 1.1.0, or we can wait with the merge until we have 1.1.0 final.

I'm going to prepare an rc0 for thirdparty this weekend.

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.

@stoty if it follows the same step, I can release the thirdparty this in my time zone today.

@stotystotyJan 29, 2021

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 will do publish rc0 and send out the mail in an hour.

According to the ASF rules, we must leave at least 72 hours for a release vote.
If we take that literally, and count the weekend in, then we can do the official release on Monday afternoon PT.

@yanxinyiyanxinyiJan 29, 2021

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.

sounds great! Thanks again for the contribution!

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker 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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep4m 33sMaven dependency ordering for branch
+1 💚mvninstall11m 15smaster passed
+0hbaserecompile22m 25sHBase recompiled.
+1 💚compile1m 28smaster passed
+1 💚checkstyle1m 48smaster passed
+1 💚javadoc2m 53smaster passed
+0 🆗spotbugs4m 19sroot in master has 1004 extant spotbugs warnings.
+0 🆗spotbugs3m 1sphoenix-core in master has 954 extant spotbugs warnings.
+0 🆗spotbugs0m 45sphoenix-pherf in master has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 43sphoenix-tools in master has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for patch
+1 💚mvninstall8m 16sthe patch passed
+0hbaserecompile14m 54sHBase recompiled.
+1 💚compile1m 32sthe patch passed
+1 💚javac1m 32sthe patch passed
-1 ❌checkstyle1m 49sroot: The patch generated 1 new + 2766 unchanged - 1 fixed = 2767 total (was 2767)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
+1 💚javadoc2m 54sthe patch passed
-1 ❌spotbugs3m 15sphoenix-core generated 9 new + 945 unchanged - 9 fixed = 954 total (was 954)
-1 ❌spotbugs1m 6sphoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌spotbugs0m 59sphoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌spotbugs4m 34sroot generated 11 new + 993 unchanged - 11 fixed = 1004 total (was 1004)
_ Other Tests _
-1 ❌unit116m 18sroot in the patch failed.
-1 ❌asflicense1m 17sThe patch generated 611 ASF License warnings.
189m 13s
ReasonTests
FindBugsmodule:phoenix-core
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:[line 137]
Null passed for non-null parameter of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:[line 181]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:[line 185]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:[line 181]
org.apache.phoenix.mapreduce.index.IndexTool.populateIndexToolAttributes(CommandLine) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead At IndexTool.java:constructor; use Long.valueOf(String) instead At IndexTool.java:[line 857]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:[line 355]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:[line 240]
Null passed for non-null parameter of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:[line 210]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:[line 276]
FindBugsmodule:phoenix-pherf
Boxing/unboxing to parse a primitive org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:[line 207]
FindBugsmodule:phoenix-tools
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:[line 94]
FindBugsmodule:root
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:cmdLine in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.parseOptions(String[]) on exception path Dereferenced at AbstractBulkLoadTool.java:[line 137]
Null passed for non-null parameter of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:of loadData(Configuration, CommandLine) in org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(String[]) Method invoked at AbstractBulkLoadTool.java:[line 181]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:cmdLine in org.apache.phoenix.mapreduce.PhoenixTTLTool.parseOptions(String[]) on exception path Dereferenced at PhoenixTTLTool.java:[line 185]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexScrutinyTool.parseOptions(String[]) on exception path Dereferenced at IndexScrutinyTool.java:[line 181]
org.apache.phoenix.mapreduce.index.IndexTool.populateIndexToolAttributes(CommandLine) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead At IndexTool.java:constructor; use Long.valueOf(String) instead At IndexTool.java:[line 857]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexTool.parseOptions(String[]) on exception path Dereferenced at IndexTool.java:[line 355]
Possible null pointer dereference of cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:cmdLine in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.parseOptions(String[]) on exception path Dereferenced at IndexUpgradeTool.java:[line 240]
Null passed for non-null parameter of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:of initializeTool(CommandLine) in org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(String[]) Method invoked at IndexUpgradeTool.java:[line 210]
Boxing/unboxing to parse a primitive org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:org.apache.phoenix.pherf.Pherf.getLogPerNRow(CommandLine) At Pherf.java:[line 207]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:cmdLine in org.apache.phoenix.schema.SchemaExtractionTool.parseOptions(String[]) on exception path Dereferenced at SchemaExtractionTool.java:[line 94]
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:cmdLine in org.apache.phoenix.schema.stats.UpdateStatisticsTool.parseOptions(String[]) on exception path Dereferenced at UpdateStatisticsTool.java:[line 276]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1122
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaserebuild hbaseanti checkstyle
unameLinux 95e8e09819bb 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 22f7d41
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/diff-checkstyle-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/new-spotbugs-phoenix-tools.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/new-spotbugs-root.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count13351 (vs. ulimit of 30000)
modulesC: phoenix-core phoenix-pherf phoenix-tools . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1122/3/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@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 (non-binding), only pending change is dropping -SNAPSHOT after release

@stotystoty closed this Feb 1, 2021

@gjacoby126gjacoby126 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 (belated)

@stoty
stoty deleted the PHOENIX-6349 branch July 29, 2021 14:25
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.

5 participants

@stoty@joshelser@gjacoby126@yanxinyi@virajjasani