Skip to content

PHOENIX-6480 Move phoenix-tool and add support with generating defaul… - #1245

Merged
swaroopak merged 1 commit into
apache:4.xfrom
gokceni:PHOENIX-6480
Jun 15, 2021
Merged

PHOENIX-6480 Move phoenix-tool and add support with generating defaul…#1245
swaroopak merged 1 commit into
apache:4.xfrom
gokceni:PHOENIX-6480

Conversation

@gokceni

Copy link
Copy Markdown
Contributor

…t properties

@gokceni

Copy link
Copy Markdown
ContributorAuthor

@swaroopak

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+0 🆗mvndep5m 24sMaven dependency ordering for branch
-1 ❌mvninstall8m 57sroot in 4.x failed.
-1 ❌compile1m 26sroot in 4.x failed.
-1 ❌checkstyle0m 44sThe patch fails to run checkstyle in root
-1 ❌javadoc1m 10sroot in 4.x failed.
-1 ❌spotbugs4m 7sroot in 4.x failed.
+0 🆗spotbugs3m 1sphoenix-core in 4.x has 951 extant spotbugs warnings.
+0 🆗spotbugs0m 43sphoenix-tools in 4.x has 5 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
-1 ❌mvninstall5m 25sroot in the patch failed.
-1 ❌compile1m 24sroot in the patch failed.
-1 ❌javac1m 24sroot in the patch failed.
-1 ❌checkstyle0m 43sThe patch fails to run checkstyle in root
-1 ❌whitespace0m 0sThe patch 2 line(s) with tabs.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
-1 ❌javadoc1m 5sroot in the patch failed.
-1 ❌spotbugs3m 15sphoenix-core generated 7 new + 951 unchanged - 0 fixed = 958 total (was 951)
-1 ❌spotbugs3m 59sroot in the patch failed.
_ Other Tests _
-1 ❌unit149m 18sroot in the patch failed.
+1 💚asflicense0m 21sThe patch does not generate ASF License warnings.
194m 55s
ReasonTests
FindBugsmodule:phoenix-core
Found reliance on default encoding in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String):in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String): new java.io.FileReader(File) At SchemaSynthesisProcessor.java:[line 211]
Null passed for non-null parameter of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:[line 80]
Null passed for non-null parameter of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:[line 81]
org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String) may fail to close stream At SchemaSynthesisProcessor.java:stream At SchemaSynthesisProcessor.java:[line 211]
org.apache.phoenix.schema.tool.SchemaTool.conf should be package protected In SchemaTool.java: In SchemaTool.java
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.tool.SchemaTool.parseOptions(String[]) Dereferenced at SchemaTool.java:cmdLine in org.apache.phoenix.schema.tool.SchemaTool.parseOptions(String[]) Dereferenced at SchemaTool.java:[line 114]
Write to static field org.apache.phoenix.schema.tool.SchemaTool.conf from instance method org.apache.phoenix.schema.tool.SchemaTool.run(String[]) At SchemaTool.java:from instance method org.apache.phoenix.schema.tool.SchemaTool.run(String[]) At SchemaTool.java:[line 73]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1245
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux a7c9b46ed1f8 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / b42a25b
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-1245/1/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/branch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/branch-javadoc-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstallhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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-1245/1/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/patch-javadoc-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/1/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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-1245/1/testReport/
Max. process+thread count5709 (vs. ulimit of 30000)
modulesC: phoenix-core . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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.

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

Thank you for the change. Could you please also add a test?

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

LGTM Thanks!

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+0 🆗mvndep5m 22sMaven dependency ordering for branch
-1 ❌mvninstall9m 1sroot in 4.x failed.
-1 ❌compile1m 26sroot in 4.x failed.
-1 ❌checkstyle0m 44sThe patch fails to run checkstyle in root
-1 ❌javadoc1m 10sroot in 4.x failed.
-1 ❌spotbugs4m 17sroot in 4.x failed.
+0 🆗spotbugs2m 55sphoenix-core in 4.x has 951 extant spotbugs warnings.
+0 🆗spotbugs0m 41sphoenix-tools in 4.x has 5 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
-1 ❌mvninstall5m 48sroot in the patch failed.
-1 ❌compile1m 24sroot in the patch failed.
-1 ❌javac1m 24sroot in the patch failed.
-1 ❌checkstyle0m 44sThe patch fails to run checkstyle in root
-1 ❌whitespace0m 0sThe patch 2 line(s) with tabs.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
-1 ❌javadoc1m 5sroot in the patch failed.
-1 ❌spotbugs3m 16sphoenix-core generated 7 new + 951 unchanged - 0 fixed = 958 total (was 951)
-1 ❌spotbugs3m 55sroot in the patch failed.
_ Other Tests _
-1 ❌unit138m 55sroot in the patch failed.
+1 💚asflicense1m 42sThe patch does not generate ASF License warnings.
188m 18s
ReasonTests
FindBugsmodule:phoenix-core
Found reliance on default encoding in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String):in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String): new java.io.FileReader(File) At SchemaSynthesisProcessor.java:[line 211]
Null passed for non-null parameter of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:[line 80]
Null passed for non-null parameter of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:of new org.apache.phoenix.parse.SQLParser(String) in org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.synthesize(String, String) Method invoked at SchemaSynthesisProcessor.java:[line 81]
org.apache.phoenix.schema.tool.SchemaSynthesisProcessor.getQueriesFromFile(String) may fail to close stream At SchemaSynthesisProcessor.java:stream At SchemaSynthesisProcessor.java:[line 211]
org.apache.phoenix.schema.tool.SchemaTool.conf should be package protected In SchemaTool.java: In SchemaTool.java
Possible null pointer dereference of cmdLine in org.apache.phoenix.schema.tool.SchemaTool.parseOptions(String[]) Dereferenced at SchemaTool.java:cmdLine in org.apache.phoenix.schema.tool.SchemaTool.parseOptions(String[]) Dereferenced at SchemaTool.java:[line 114]
Write to static field org.apache.phoenix.schema.tool.SchemaTool.conf from instance method org.apache.phoenix.schema.tool.SchemaTool.run(String[]) At SchemaTool.java:from instance method org.apache.phoenix.schema.tool.SchemaTool.run(String[]) At SchemaTool.java:[line 73]
Failed junit testsphoenix.end2end.AuditLoggingIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1245
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile xml
unameLinux 3f67cc9f8a42 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / b42a25b
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-1245/2/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/branch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/buildtool-branch-checkstyle-root.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/branch-javadoc-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/branch-spotbugs-root.txt
mvninstallhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/buildtool-patch-checkstyle-root.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/2/artifact/yetus-general-check/output/patch-javadoc-root.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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-1245/2/artifact/yetus-general-check/output/patch-spotbugs-root.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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-1245/2/testReport/
Max. process+thread count5860 (vs. ulimit of 30000)
modulesC: phoenix-core . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1245/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.

@swaroopak
swaroopak merged commit 3836a91 into apache:4.xJun 15, 2021
richardantal pushed a commit that referenced this pull request Jul 30, 2021
…t properties (#1245)
Change-Id: Ieb4f1ae11da0913da4e0fb304da7521e521c5e26
richardantal pushed a commit to richardantal/phoenix-1 that referenced this pull request Jul 30, 2021
…t properties (apache#1245)
Change-Id: I17241f3f93dbdab08be3c151404d19dd6bd78626
richardantal pushed a commit that referenced this pull request Aug 2, 2021
…t properties (#1245)
Change-Id: I17241f3f93dbdab08be3c151404d19dd6bd78626
richardantal pushed a commit that referenced this pull request Aug 2, 2021
…t properties (#1245)
Change-Id: I17241f3f93dbdab08be3c151404d19dd6bd78626
jpisaac pushed a commit to jpisaac/phoenix that referenced this pull request Jun 10, 2022
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

@gokceni@stoty@swaroopak