Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

stoty
Copy link
Contributor

@stoty stoty commented Jan 29, 2021

test version snapshot phoenix-thirdparty

@stoty
Copy link
Contributor Author

stoty commented Jan 29, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗 mvndep 5m 12s Maven dependency ordering for branch
+1 💚 mvninstall 9m 46s 4.x passed
+1 💚 compile 1m 32s 4.x passed
+1 💚 checkstyle 1m 42s 4.x passed
+1 💚 javadoc 2m 25s 4.x passed
+0 🆗 spotbugs 4m 12s root in 4.x has 1000 extant spotbugs warnings.
+0 🆗 spotbugs 2m 55s phoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗 spotbugs 0m 47s phoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗 spotbugs 0m 44s phoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 21s root in the patch failed.
-1 ❌ compile 0m 18s root in the patch failed.
-1 ❌ javac 0m 18s root in the patch failed.
-1 ❌ checkstyle 0m 9s The patch fails to run checkstyle in root
-1 ❌ whitespace 0m 0s The patch 1 line(s) with tabs.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
-1 ❌ javadoc 0m 21s root in the patch failed.
-1 ❌ javadoc 0m 9s phoenix-core in the patch failed.
-1 ❌ javadoc 0m 8s phoenix-pherf in the patch failed.
-1 ❌ javadoc 0m 7s phoenix-tools in the patch failed.
-1 ❌ spotbugs 0m 41s root in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix-core in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix-pherf in the patch failed.
-1 ❌ spotbugs 0m 7s phoenix-tools in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 20s root in the patch failed.
+1 💚 asflicense 0m 32s The patch does not generate ASF License warnings.
35m 11s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev/phoenix-personality.sh
git revision 4.x / 31a8f59
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-compile-root.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-compile-root.txt
checkstyle https://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
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/whitespace-tabs.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-javadoc-root.txt
javadoc https://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
javadoc https://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
javadoc https://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
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/artifact/yetus-general-check/output/patch-spotbugs-root.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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
unit https://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 Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/testReport/
Max. process+thread count 94 (vs. ulimit of 30000)
modules C: . phoenix-core phoenix-pherf phoenix-tools U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/1/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Contributor Author

stoty commented Jan 29, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗 mvndep 5m 2s Maven dependency ordering for branch
+1 💚 mvninstall 10m 10s 4.x passed
+1 💚 compile 1m 35s 4.x passed
+1 💚 checkstyle 1m 42s 4.x passed
+1 💚 javadoc 2m 25s 4.x passed
+0 🆗 spotbugs 4m 11s root in 4.x has 1000 extant spotbugs warnings.
+0 🆗 spotbugs 2m 58s phoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗 spotbugs 0m 50s phoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗 spotbugs 0m 42s phoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 5m 57s the patch passed
+1 💚 compile 1m 33s the patch passed
+1 💚 javac 1m 33s the patch passed
+1 💚 checkstyle 1m 42s the patch passed
-1 ❌ whitespace 0m 0s The patch 1 line(s) with tabs.
+1 💚 xml 0m 5s The patch has no ill-formed XML file.
+1 💚 javadoc 2m 27s the patch passed
-1 ❌ spotbugs 3m 12s phoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌ spotbugs 1m 7s phoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌ spotbugs 0m 58s phoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌ spotbugs 4m 25s root generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌ unit 141m 13s root in the patch failed.
+1 💚 asflicense 0m 37s The patch does not generate ASF License warnings.
195m 50s
Reason Tests
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev/phoenix-personality.sh
git revision 4.x / 31a8f59
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/artifact/yetus-general-check/output/new-spotbugs-root.html
unit https://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 Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/testReport/
Max. process+thread count 5776 (vs. ulimit of 30000)
modules C: phoenix-core phoenix-pherf phoenix-tools . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/2/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@yanxinyi
Copy link
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
Contributor Author

stoty commented Jan 30, 2021

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
Copy link
Contributor

yanxinyi commented Jan 30, 2021

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
Contributor Author

stoty commented Jan 30, 2021

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
Copy link
Contributor Author

stoty commented Jan 30, 2021

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
Contributor

Sure @stoty

Copy link
Contributor

@yanxinyi yanxinyi left a comment

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
Contributor Author

stoty commented Jan 30, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 34s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗 mvndep 5m 33s Maven dependency ordering for branch
+1 💚 mvninstall 10m 8s 4.x passed
+1 💚 compile 1m 32s 4.x passed
+1 💚 checkstyle 1m 40s 4.x passed
+1 💚 javadoc 2m 26s 4.x passed
+0 🆗 spotbugs 4m 13s root in 4.x has 1000 extant spotbugs warnings.
+0 🆗 spotbugs 2m 59s phoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗 spotbugs 0m 50s phoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s phoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 5m 54s the patch passed
+1 💚 compile 1m 32s the patch passed
+1 💚 javac 1m 32s the patch passed
+1 💚 checkstyle 1m 43s the patch passed
-1 ❌ whitespace 0m 0s The patch 1 line(s) with tabs.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
+1 💚 javadoc 2m 24s the patch passed
-1 ❌ spotbugs 3m 11s phoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌ spotbugs 1m 7s phoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌ spotbugs 0m 59s phoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌ spotbugs 4m 24s root generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌ unit 209m 8s root in the patch failed.
+1 💚 asflicense 0m 37s The patch does not generate ASF License warnings.
264m 7s
Reason Tests
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev/phoenix-personality.sh
git revision 4.x / 31a8f59
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/artifact/yetus-general-check/output/new-spotbugs-root.html
unit https://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 Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/testReport/
Max. process+thread count 5891 (vs. ulimit of 30000)
modules C: phoenix-core phoenix-pherf phoenix-tools . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/3/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@virajjasani virajjasani left a comment

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
Contributor Author

stoty commented Jan 30, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ 4.x Compile Tests _
+0 🆗 mvndep 5m 11s Maven dependency ordering for branch
+1 💚 mvninstall 9m 55s 4.x passed
+1 💚 compile 1m 29s 4.x passed
+1 💚 checkstyle 1m 43s 4.x passed
+1 💚 javadoc 2m 34s 4.x passed
+0 🆗 spotbugs 4m 12s root in 4.x has 1000 extant spotbugs warnings.
+0 🆗 spotbugs 2m 57s phoenix-core in 4.x has 945 extant spotbugs warnings.
+0 🆗 spotbugs 0m 49s phoenix-pherf in 4.x has 42 extant spotbugs warnings.
+0 🆗 spotbugs 0m 42s phoenix-tools in 4.x has 3 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 5m 56s the patch passed
+1 💚 compile 1m 34s the patch passed
+1 💚 javac 1m 34s the patch passed
-1 ❌ checkstyle 1m 42s root: The patch generated 28 new + 2743 unchanged - 28 fixed = 2771 total (was 2771)
-1 ❌ whitespace 0m 0s The patch 1 line(s) with tabs.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
+1 💚 javadoc 2m 34s the patch passed
-1 ❌ spotbugs 3m 12s phoenix-core generated 9 new + 936 unchanged - 9 fixed = 945 total (was 945)
-1 ❌ spotbugs 1m 5s phoenix-pherf generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42)
-1 ❌ spotbugs 0m 57s phoenix-tools generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3)
-1 ❌ spotbugs 4m 27s root generated 11 new + 989 unchanged - 11 fixed = 1000 total (was 1000)
_ Other Tests _
-1 ❌ unit 209m 28s root in the patch failed.
+1 💚 asflicense 0m 47s The patch does not generate ASF License warnings.
264m 22s
Reason Tests
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
FindBugs module: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]
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
uname Linux 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 tool maven
Personality dev/phoenix-personality.sh
git revision 4.x / 31a8f59
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/whitespace-tabs.txt
spotbugs https://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
spotbugs https://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
spotbugs https://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
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/artifact/yetus-general-check/output/new-spotbugs-root.html
unit https://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 Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/testReport/
Max. process+thread count 5708 (vs. ulimit of 30000)
modules C: phoenix-core phoenix-pherf phoenix-server phoenix-tools . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1123/4/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty stoty closed this Feb 1, 2021
@stoty stoty deleted the PHOENIX-6349-4.x branch July 29, 2021 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants