Skip to content

PHOENIX-6783 Add spark-sql support for spark2 datasourceV2 and spark3#139

Merged
stoty merged 1 commit intoapache:masterfrom
rejeb:phoenix5_spark_sql_support
Sep 18, 2024
Merged

PHOENIX-6783 Add spark-sql support for spark2 datasourceV2 and spark3#139
stoty merged 1 commit intoapache:masterfrom
rejeb:phoenix5_spark_sql_support

Conversation

@rejeb
Copy link
Copy Markdown
Contributor

@rejeb rejeb commented Aug 18, 2024

  • Add spark-sql support.
  • Fix support for multitenant tables with Datasource V2.
  • Adapt multitenant IT to use datasource V2.
  • Replace deprecated ZOOKEEPER_URL propety for all tests with JDBC_URL.
  • Update READ.ME.

To discuss: Datasouce v1 is deprecated and have no tests. I removed datasource V1 classes. Is it OK or should I revert the change and add tests ?

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 18, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 32s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 10m 58s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 8s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 33s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 9s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 8s phoenix5-spark: The patch generated 15 new + 22 unchanged - 73 fixed = 37 total (was 95)
-1 ❌ checkstyle 0m 10s phoenix5-spark3: The patch generated 19 new + 38 unchanged - 81 fixed = 57 total (was 119)
-1 ❌ whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 9s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
22m 8s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 1dbaf2f28949 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / a1c298c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/1/console
versions git=2.7.4 maven=3.3.9
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb rejeb force-pushed the phoenix5_spark_sql_support branch from e9dab6a to 0c19440 Compare August 18, 2024 16:52
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 18, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 27s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 11m 4s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 8s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 33s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 9s phoenix5-spark: The patch generated 15 new + 22 unchanged - 73 fixed = 37 total (was 95)
-1 ❌ checkstyle 0m 9s phoenix5-spark3: The patch generated 19 new + 38 unchanged - 81 fixed = 57 total (was 119)
-1 ❌ markdownlint 0m 4s The patch generated 38 new + 87 unchanged - 25 fixed = 125 total (was 112)
-1 ❌ whitespace 0m 1s The patch has 14 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 8s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
16m 14s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 75d5c75446da 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / a1c298c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/2/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb rejeb changed the title PHOENIX-6783 Add spark-sql for spark2 and spark3 PHOENIX-6783 Add spark-sql support for spark2 and spark3 Aug 19, 2024
@rejeb rejeb changed the title PHOENIX-6783 Add spark-sql support for spark2 and spark3 PHOENIX-6783 Add spark-sql support for spark2 datasourceV2 and spark3 Aug 19, 2024
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 21, 2024

Please keep the DataSource V1 code.
The removal of that is out of scope for this ticket and should be discussed beforehand.

@rejeb rejeb force-pushed the phoenix5_spark_sql_support branch from 0c19440 to 8750c46 Compare August 21, 2024 16:51
@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Aug 21, 2024

Rollback datasourceV1 and add tests.
I opened this discussion PHOENIX-7392 about removing datasource V1 and building connector with different scala versions.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 21, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 3m 8s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 10m 47s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 7s root in master failed.
-1 ❌ compile 0m 6s phoenix5-spark in master failed.
-1 ❌ compile 0m 6s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 27s master passed
-1 ❌ javadoc 0m 7s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 7s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 7s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 6s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 6s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 4s root in the patch failed.
-1 ❌ compile 0m 6s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 6s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 6s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 7s phoenix5-spark: The patch generated 15 new + 23 unchanged - 73 fixed = 38 total (was 96)
-1 ❌ checkstyle 0m 7s phoenix5-spark3: The patch generated 19 new + 39 unchanged - 81 fixed = 58 total (was 120)
-1 ❌ markdownlint 0m 4s The patch generated 42 new + 101 unchanged - 11 fixed = 143 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 14 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 6s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 7s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 6s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 7s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 15s The patch generated 4 ASF License warnings.
17m 36s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 8a64f5cf820e 5.15.0-116-generic #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / a1c298c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 52 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/3/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Aug 23, 2024

@stoty, can you review please.

Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically looks good, but I added a lot of nits/cleanup suggestions.

.read()
.format("phoenix")
.option("table", "TABLE1")
.option("jdbcUrl", "jdbc:phoenix:zkHost:zkport")
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.

see above, this applies to all uses with explicit jdbcUrl

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 29, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 3m 22s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 10m 46s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 7s phoenix5-spark in master failed.
-1 ❌ compile 0m 7s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 28s master passed
-1 ❌ javadoc 0m 7s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 6s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 7s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark3 in master failed.
-0 ⚠️ patch 0m 51s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 6s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 5s root in the patch failed.
-1 ❌ compile 0m 7s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 7s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 7s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 7s phoenix5-spark: The patch generated 15 new + 36 unchanged - 74 fixed = 51 total (was 110)
-1 ❌ checkstyle 0m 8s phoenix5-spark3: The patch generated 18 new + 40 unchanged - 80 fixed = 58 total (was 120)
-1 ❌ markdownlint 0m 3s The patch generated 38 new + 97 unchanged - 15 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 11 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 7s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 6s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 14s The patch generated 4 ASF License warnings.
17m 55s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 96374444b455 5.15.0-116-generic #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / a1c298c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 52 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/4/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Aug 29, 2024

@stoty, than you for the review. I made the changes as you suggest and added comments.
When working on reviews I found out that AggregateIT and SaltedTableIT are running only pure phoenix tests and there is no tests for spark connector so I disabled them and I will open an issue to add real spark tests for these classes.

@rejeb rejeb requested a review from stoty August 29, 2024 16:55
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 29, 2024

When working on reviews I found out that AggregateIT and SaltedTableIT are running only pure phoenix tests and there is no tests for spark connector so I disabled them and I will open an issue to add real spark tests for these classes.

That's not what I can see.
Those tests are piped through Spark, and exercise the connector.
Instead of executing directly, they are executed via Spark.

Please check again, and if you still find that they are pure Phoenix tests, point out why the code to perform the queries via Spark does not work. (executeQuery() override )

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Aug 29, 2024

I haven't paid attention to the executeQuery method. You're rigth, the tests are executed throw spark. I rolled back my modifications and done the same for OrderByIT as I made a change in the same way fot it.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Aug 29, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 9s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 10m 27s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 7s root in master failed.
-1 ❌ compile 0m 7s phoenix5-spark in master failed.
-1 ❌ compile 0m 6s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 28s master passed
-1 ❌ javadoc 0m 6s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 7s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 7s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 6s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 7s phoenix5-spark3 in master failed.
-0 ⚠️ patch 0m 50s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 5s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 5s root in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 7s phoenix5-spark: The patch generated 15 new + 36 unchanged - 74 fixed = 51 total (was 110)
-1 ❌ checkstyle 0m 8s phoenix5-spark3: The patch generated 18 new + 40 unchanged - 80 fixed = 58 total (was 120)
-1 ❌ markdownlint 0m 2s The patch generated 38 new + 97 unchanged - 15 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 11 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 6s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 6s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 6s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 6s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 7s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 13s The patch generated 4 ASF License warnings.
14m 20s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 1ecc1937d3fe 5.15.0-116-generic #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / a1c298c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 52 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/5/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally l looks good, I added some nits and minor requests.

.save();

jsc.stop();
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.

Nit:
I can't see in this editor. Is this extra whitespace ? If yes, then please delete

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@rejeb rejeb force-pushed the phoenix5_spark_sql_support branch from aef9db2 to 631b0ec Compare September 11, 2024 14:54
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 11, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 21s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 13m 58s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 8s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 33s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 9s phoenix5-spark: The patch generated 15 new + 35 unchanged - 74 fixed = 50 total (was 109)
-1 ❌ checkstyle 0m 9s phoenix5-spark3: The patch generated 18 new + 39 unchanged - 80 fixed = 57 total (was 119)
-1 ❌ markdownlint 0m 3s The patch generated 40 new + 95 unchanged - 17 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 8s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
25m 6s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 559bb5f7508f 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6b6a85b
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/6/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 11, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 13m 46s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 9s phoenix5-spark in master failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 32s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 9s phoenix5-spark: The patch generated 15 new + 35 unchanged - 74 fixed = 50 total (was 109)
-1 ❌ checkstyle 0m 9s phoenix5-spark3: The patch generated 18 new + 39 unchanged - 80 fixed = 57 total (was 119)
-1 ❌ markdownlint 0m 3s The patch generated 40 new + 95 unchanged - 17 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 9s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
19m 0s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux accce451f442 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / 6b6a85b
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/7/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rejeb rejeb requested a review from stoty September 12, 2024 05:44
Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the github test failure @rejeb .

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

I have re-started the test to see if the first failure was a transient.
You can still download the full logs for the failed attempt from GH (I hopethe next run won't age it out)

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

It's a major pain to identify any problem from the 40MB scalatest output.
It would be really nice if there was a newer version that split its outputs failsafe/maven style.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

My local runs also fail:

  • Can use extraOptions to set configs for workers during writes *** FAILED *** (14 milliseconds)
    20 did not equal 0 (PhoenixSparkIT.scala:407)
    org.scalatest.exceptions.TestFailedException:
    at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)
    at org.scalatest.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:6303)
    at org.apache.phoenix.spark.PhoenixSparkIT$$anonfun$17.apply$mcV$sp(PhoenixSparkIT.scala:407)
    at org.apache.phoenix.spark.PhoenixSparkIT$$anonfun$17.apply(PhoenixSparkIT.scala:378)
    at org.apache.phoenix.spark.PhoenixSparkIT$$anonfun$17.apply(PhoenixSparkIT.scala:378)
    at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
    at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
    at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
    at org.scalatest.Transformer.apply(Transformer.scala:22)
    at org.scalatest.Transformer.apply(Transformer.scala:20)
    at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166)
    at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
    at org.scalatest.FunSuite.withFixture(FunSuite.scala:1555)
    at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:163)
    at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
    at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
    at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
    at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:175)
    at org.apache.phoenix.spark.AbstractPhoenixSparkIT.org$scalatest$BeforeAndAfter$$super$runTest(AbstractPhoenixSparkIT.scala:53)
    at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:200)
    at org.apache.phoenix.spark.AbstractPhoenixSparkIT.runTest(AbstractPhoenixSparkIT.scala:53)
    at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
    at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
    at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
    at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
    at scala.collection.immutable.List.foreach(List.scala:392)
    at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
    at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
    at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
    at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:208)
    at org.scalatest.FunSuite.runTests(FunSuite.scala:1555)
    at org.scalatest.Suite$class.run(Suite.scala:1424)
    at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1555)
    at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
    at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
    at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
    at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:212)
    at org.apache.phoenix.spark.AbstractPhoenixSparkIT.org$scalatest$BeforeAndAfter$$super$run(AbstractPhoenixSparkIT.scala:53)
    at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:241)
    at org.apache.phoenix.spark.AbstractPhoenixSparkIT.org$scalatest$BeforeAndAfterAll$$super$run(AbstractPhoenixSparkIT.scala:53)
    at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:257)
    at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:256)
    at org.apache.phoenix.spark.AbstractPhoenixSparkIT.run(AbstractPhoenixSparkIT.scala:53)
    at org.scalatest.Suite$class.callExecuteOnSuite$1(Suite.scala:1492)
    at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1528)
    at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1526)
    at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    at org.scalatest.Suite$class.runNestedSuites(Suite.scala:1526)
    at org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:29)
    at org.scalatest.Suite$class.run(Suite.scala:1421)
    at org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:29)
    at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
    at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
    at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
    at scala.collection.immutable.List.foreach(List.scala:392)
    at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

Looks like you need to reset PhoenixTestingDataSourceWriter before using it, as now you are using it from two tests.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Sep 17, 2024

Hi @stoty,
I should've run all tests at once instead of running them individually before submitting the PR.
I found out that the failed tests are just duplication because they use .format(PhoenixTestingDataSource.TEST_SOURCE) and not V1 and V2 format. However I added reset of the TOTAL_BATCHES_COMMITTED_COUNT before each test.
I went on a tricky error tests with tables DATE_TEST and TIME_TEST because they use currentdatetime and check that date is less than 24 hours difference. I changed these tests to use a fixed date.

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Sep 17, 2024

It's a major pain to identify any problem from the 40MB scalatest output. It would be really nice if there was a newer version that split its outputs failsafe/maven style.

Unzipped file is about 450MB and most of the logs are debug logs essentially hbase logs. IDK, if it is helfull to have these logs during tests.
Maybe it will be better to change log level to INFO and have options/instructions to enable debug level.

@rejeb rejeb requested a review from stoty September 17, 2024 11:00
@rejeb rejeb force-pushed the phoenix5_spark_sql_support branch from cc645f8 to 6750b0c Compare September 17, 2024 11:03
@rejeb rejeb force-pushed the phoenix5_spark_sql_support branch from 6750b0c to eda8315 Compare September 17, 2024 11:09
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 15s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 14m 20s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 9s root in master failed.
-1 ❌ compile 0m 9s phoenix5-spark in master failed.
-1 ❌ compile 0m 8s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 33s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 7s root in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 9s phoenix5-spark: The patch generated 15 new + 35 unchanged - 74 fixed = 50 total (was 109)
-1 ❌ checkstyle 0m 9s phoenix5-spark3: The patch generated 18 new + 39 unchanged - 80 fixed = 57 total (was 119)
-1 ❌ markdownlint 0m 3s The patch generated 40 new + 95 unchanged - 17 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 9s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 8s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
25m 24s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 928ffb518800 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / cd2fcf0
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/8/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s 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 doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗 mvndep 13m 51s Maven dependency ordering for branch
-1 ❌ mvninstall 0m 8s root in master failed.
-1 ❌ compile 0m 8s phoenix5-spark in master failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in master failed.
+1 💚 checkstyle 0m 33s master passed
-1 ❌ javadoc 0m 9s phoenix5-spark in master failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in master failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in master failed.
-1 ❌ scaladoc 0m 8s phoenix5-spark3 in master failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark in master failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark3 in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 6s root in the patch failed.
-1 ❌ compile 0m 8s phoenix5-spark in the patch failed.
-1 ❌ compile 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ javac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scalac 0m 8s phoenix5-spark in the patch failed.
-1 ❌ scalac 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ checkstyle 0m 9s phoenix5-spark: The patch generated 15 new + 35 unchanged - 74 fixed = 50 total (was 109)
-1 ❌ checkstyle 0m 9s phoenix5-spark3: The patch generated 18 new + 39 unchanged - 80 fixed = 57 total (was 119)
-1 ❌ markdownlint 0m 4s The patch generated 40 new + 95 unchanged - 17 fixed = 135 total (was 112)
-1 ❌ whitespace 0m 0s The patch has 10 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ javadoc 0m 8s phoenix5-spark in the patch failed.
-1 ❌ javadoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark in the patch failed.
-1 ❌ scaladoc 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ spotbugs 0m 8s phoenix5-spark in the patch failed.
-1 ❌ spotbugs 0m 9s phoenix5-spark3 in the patch failed.
_ Other Tests _
-1 ❌ unit 0m 8s phoenix5-spark in the patch failed.
-1 ❌ unit 0m 9s phoenix5-spark3 in the patch failed.
-1 ❌ asflicense 0m 17s The patch generated 4 ASF License warnings.
19m 6s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #139
Optional Tests dupname asflicense markdownlint javac javadoc unit spotbugs hbaseanti checkstyle compile scalac scaladoc
uname Linux 576a826c70d9 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-connectors-personality.sh
git revision master / cd2fcf0
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-compile-phoenix5-spark3.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/branch-spotbugs-phoenix5-spark3.txt
mvninstall https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
compile https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
javac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark.txt
scalac https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-compile-phoenix5-spark3.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark.txt
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/diff-checkstyle-phoenix5-spark3.txt
markdownlint https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/diff-patch-markdownlint.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-javadoc-phoenix5-spark3.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark.txt
scaladoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-scaladoc-phoenix5-spark3.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark.txt
spotbugs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-spotbugs-phoenix5-spark3.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-unit-phoenix5-spark.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-unit-phoenix5-spark3.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 47 (vs. ulimit of 30000)
modules C: phoenix5-spark phoenix5-spark3 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-139/9/console
versions git=2.7.4 maven=3.3.9 markdownlint=0.22.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

Maybe it will be better to change log level to INFO and have options/instructions to enable debug level.

We've tried that, but then we couldn't debug some test failures that only happened in the CI environment.

@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 17, 2024

Please also rename the JIRA to match the commit message (which is more descriptive).

@rejeb
Copy link
Copy Markdown
Contributor Author

rejeb commented Sep 17, 2024

Please also rename the JIRA to match the commit message (which is more descriptive).

Done.

Copy link
Copy Markdown
Contributor

@stoty stoty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@stoty stoty merged commit e2c6554 into apache:master Sep 18, 2024
@stoty
Copy link
Copy Markdown
Contributor

stoty commented Sep 18, 2024

Updated the commit message to match the PR description on commit.

Sign up for free to 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.

2 participants