Skip to content

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

Closed
stoty wants to merge 1 commit into
apache:4.xfrom
stoty:PHOENIX-6349-4.x
Closed

PHOENIX-6349 Add and use commons-cli to phoenix-thirdparty#1123
stoty wants to merge 1 commit into
apache:4.xfrom
stoty:PHOENIX-6349-4.x

Conversation

@stoty

Copy link
Copy Markdown
Contributor

test version snapshot phoenix-thirdparty

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker 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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗mvndep5m 12sMaven dependency ordering for branch
+1 💚mvninstall9m 46s4.x passed
+1 💚compile1m 32s4.x passed
+1 💚checkstyle1m 42s4.x passed
+1 💚javadoc2m 25s4.x passed
+0 🆗spotbugs4m 12sroot in 4.x has 1000 extant spotbugs warnings.
+0 🆗spotbugs2m 55sphoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗spotbugs0m 47sphoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 44sphoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
-1 ❌mvninstall0m 21sroot in the patch failed.
-1 ❌compile0m 18sroot in the patch failed.
-1 ❌javac0m 18sroot in the patch failed.
-1 ❌checkstyle0m 9sThe patch fails to run checkstyle in root
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 21sroot in the patch failed.
-1 ❌javadoc0m 9sphoenix-core in the patch failed.
-1 ❌javadoc0m 8sphoenix-pherf in the patch failed.
-1 ❌javadoc0m 7sphoenix-tools in the patch failed.
-1 ❌spotbugs0m 41sroot in the patch failed.
-1 ❌spotbugs0m 9sphoenix-core in the patch failed.
-1 ❌spotbugs0m 8sphoenix-pherf in the patch failed.
-1 ❌spotbugs0m 7sphoenix-tools in the patch failed.
_ Other Tests _
-1 ❌unit0m 20sroot in the patch failed.
+1 💚asflicense0m 32sThe patch does not generate ASF License warnings.
35m 11s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1123
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux a63d834c6ebe 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 revision4.x / 31a8f59
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-1123/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-javadoc-root.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/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-1123/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-1123/1/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/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-1123/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-1123/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-1123/1/testReport/
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-1123/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.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker 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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗mvndep5m 2sMaven dependency ordering for branch
+1 💚mvninstall10m 10s4.x passed
+1 💚compile1m 35s4.x passed
+1 💚checkstyle1m 42s4.x passed
+1 💚javadoc2m 25s4.x passed
+0 🆗spotbugs4m 11sroot in 4.x has 1000 extant spotbugs warnings.
+0 🆗spotbugs2m 58sphoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗spotbugs0m 50sphoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 42sphoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 21sMaven dependency ordering for patch
+1 💚mvninstall5m 57sthe patch passed
+1 💚compile1m 33sthe patch passed
+1 💚javac1m 33sthe patch passed
+1 💚checkstyle1m 42sthe patch passed
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
+1 💚javadoc2m 27sthe patch passed
-1 ❌spotbugs3m 12sphoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌spotbugs1m 7sphoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌spotbugs0m 58sphoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌spotbugs4m 25sroot generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌unit141m 13sroot in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
195m 50s
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 274]
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 208]
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 208]
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 274]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1123
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux cb50d0a9e513 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 revision4.x / 31a8f59
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/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-1123/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-1123/2/artifact/yetus-general-check/output/new-spotbugs-root.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/2/testReport/
Max. process+thread count5776 (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-1123/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.

@yanxinyi

Copy link
Copy Markdown
Contributor

Huh, I'm not sure if this is my local setting issue or something else.

With my local HBase setup, I tried 4.14.3 and 4.15 server jars without any issues when I called ./hbase org.apache.phoenix.mapreduce.index.IndexTool, which is using the phoenix server jar as the classpath. However, I applied your patch and built the 4.x branch locally. Here are my stack trace and error

./hbase org.apache.phoenix.mapreduce.index.IndexTool
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/phoenix/thirdparty/org/apache/commons/cli/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: org.apache.phoenix.thirdparty.org.apache.commons.cli.ParseException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

@stoty did you verify it locally? I guess the ITs are not using the server patch so it's very hard to catch the issue...

@stoty

Copy link
Copy Markdown
ContributorAuthor

No I didn't test it, I didn't have the time set up a 4.x pseudo-distributed cluster yesterday.

I just keep forgetting that you need to add everything to the 4.x server jar manually
(as opposed to 5.x, where we add everything not explcitly excluded, or set as provided)

Can you re-test with the updated patch @yanxinyi ?

@yanxinyi

yanxinyi commented Jan 30, 2021

Copy link
Copy Markdown
Contributor

Huh, I'm getting the same error.

When I compared the 4.x and master server jars, the master branch server jar does have dependent classes but not 4.x.

Here is the list
org/apache/phoenix/shaded/org/apache/commons/cli/
org/apache/phoenix/shaded/org/apache/commons/cli/GnuParser.class
org/apache/phoenix/shaded/org/apache/commons/cli/HelpFormatter$1.class
org/apache/phoenix/shaded/org/apache/commons/cli/MissingArgumentException.class
org/apache/phoenix/shaded/org/apache/commons/cli/Option$Builder.class
org/apache/phoenix/shaded/org/apache/commons/cli/Options.class
org/apache/phoenix/shaded/org/apache/commons/cli/PatternOptionBuilder.class
org/apache/phoenix/shaded/org/apache/commons/cli/Util.class
org/apache/phoenix/shaded/org/apache/commons/cli/BasicParser.class
org/apache/phoenix/shaded/org/apache/commons/cli/CommandLineParser.class
org/apache/phoenix/shaded/org/apache/commons/cli/HelpFormatter.class
org/apache/phoenix/shaded/org/apache/commons/cli/OptionGroup.class
org/apache/phoenix/shaded/org/apache/commons/cli/Parser.class
org/apache/phoenix/shaded/org/apache/commons/cli/UnrecognizedOptionException.class
org/apache/phoenix/shaded/org/apache/commons/cli/AlreadySelectedException.class
org/apache/phoenix/shaded/org/apache/commons/cli/CommandLine$Builder.class
org/apache/phoenix/shaded/org/apache/commons/cli/CommandLine.class
org/apache/phoenix/shaded/org/apache/commons/cli/HelpFormatter$OptionComparator.class
org/apache/phoenix/shaded/org/apache/commons/cli/Option$1.class
org/apache/phoenix/shaded/org/apache/commons/cli/OptionValidator.class
org/apache/phoenix/shaded/org/apache/commons/cli/PosixParser.class
META-INF/maven/commons-cli/
META-INF/maven/commons-cli/commons-cli/
META-INF/maven/commons-cli/commons-cli/pom.xml
org/apache/phoenix/shaded/org/apache/commons/cli/AmbiguousOptionException.class
org/apache/phoenix/shaded/org/apache/commons/cli/DefaultParser.class
org/apache/phoenix/shaded/org/apache/commons/cli/MissingOptionException.class
org/apache/phoenix/shaded/org/apache/commons/cli/Option.class
org/apache/phoenix/shaded/org/apache/commons/cli/OptionBuilder.class
org/apache/phoenix/shaded/org/apache/commons/cli/ParseException.class
org/apache/phoenix/shaded/org/apache/commons/cli/TypeHandler.class
META-INF/maven/commons-cli/commons-cli/pom.properties

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

Copy link
Copy Markdown
ContributorAuthor

The difference is normal. In the 4.x server jar we add the shaded packages manually, and do not relocate. (Don't know why, probably historical reasons)

In 4.x HEAD we don't add commons-cli, and use whatever HBase/Hadoop classpatch gives us.

In master HEAD we add and shade every dependecy that isn't excluded and provided
(including commons-cli), and relocate it under org/apache/phoenix/shaded .

With this (updated) patch we add the org.apache.phoenix.thirdparty.org.apache.commons.cli classes on either branch.

I've just run a test locally on the Phoenix 5 pseudodistributed cluster with this patch, and didn't get any errors.

I am quite baffled why the same setup would cause problems on 4.x

@stoty

stoty commented Jan 30, 2021

Copy link
Copy Markdown
ContributorAuthor

I found the problem.
I've forgotten to add the fixed phoenix-server pom.xml to the amended commit.
At least now I've run and end-to-end test on 5.x

Can you try yet again on 4.x with the now-really-fixed-i-swear patch @yanxinyi ?

@yanxinyi

Copy link
Copy Markdown
Contributor

Sure @stoty

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

It works!!!

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -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.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗mvndep5m 33sMaven dependency ordering for branch
+1 💚mvninstall10m 8s4.x passed
+1 💚compile1m 32s4.x passed
+1 💚checkstyle1m 40s4.x passed
+1 💚javadoc2m 26s4.x passed
+0 🆗spotbugs4m 13sroot in 4.x has 1000 extant spotbugs warnings.
+0 🆗spotbugs2m 59sphoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗spotbugs0m 50sphoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 45sphoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 21sMaven dependency ordering for patch
+1 💚mvninstall5m 54sthe patch passed
+1 💚compile1m 32sthe patch passed
+1 💚javac1m 32sthe patch passed
+1 💚checkstyle1m 43sthe patch passed
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
+1 💚javadoc2m 24sthe patch passed
-1 ❌spotbugs3m 11sphoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌spotbugs1m 7sphoenix-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 24sroot generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌unit209m 8sroot in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
264m 7s
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 274]
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 208]
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 208]
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 274]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1123
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux 52732d13a86d 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 revision4.x / 31a8f59
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/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-1123/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-1123/3/artifact/yetus-general-check/output/new-spotbugs-root.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/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-1123/3/testReport/
Max. process+thread count5891 (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-1123/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

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker 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.
_ 4.x Compile Tests _
+0 🆗mvndep5m 11sMaven dependency ordering for branch
+1 💚mvninstall9m 55s4.x passed
+1 💚compile1m 29s4.x passed
+1 💚checkstyle1m 43s4.x passed
+1 💚javadoc2m 34s4.x passed
+0 🆗spotbugs4m 12sroot in 4.x has 1000 extant spotbugs warnings.
+0 🆗spotbugs2m 57sphoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗spotbugs0m 49sphoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗spotbugs0m 42sphoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 20sMaven dependency ordering for patch
+1 💚mvninstall5m 56sthe patch passed
+1 💚compile1m 34sthe patch passed
+1 💚javac1m 34sthe patch passed
-1 ❌checkstyle1m 42sroot: The patch generated 28 new + 2743 unchanged - 28 fixed = 2771 total (was 2771)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 6sThe patch has no ill-formed XML file.
+1 💚javadoc2m 34sthe patch passed
-1 ❌spotbugs3m 12sphoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌spotbugs1m 5sphoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌spotbugs0m 57sphoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌spotbugs4m 27sroot generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌unit209m 28sroot in the patch failed.
+1 💚asflicense0m 47sThe patch does not generate ASF License warnings.
264m 22s
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 274]
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 208]
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 134]
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 178]
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 875]
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 362]
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 236]
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 206]
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 208]
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 274]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1123
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux ac48a4eb3666 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 revision4.x / 31a8f59
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-1123/4/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/new-spotbugs-phoenix-tools.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/new-spotbugs-root.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/testReport/
Max. process+thread count5708 (vs. ulimit of 30000)
modulesC: phoenix-core phoenix-pherf phoenix-server phoenix-tools . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/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.

@stotystoty closed this Feb 1, 2021
@stoty
stoty deleted the PHOENIX-6349-4.x branch July 29, 2021 14:26
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.

3 participants

@stoty@yanxinyi@virajjasani