Skip to content

PHOENIX-6553 Sync phoenix-pherf in 4.16 to 4.x - #1315

Closed
stoty wants to merge 1 commit into
apache:4.16from
stoty:PHOENIX-6553
Closed

PHOENIX-6553 Sync phoenix-pherf in 4.16 to 4.x#1315
stoty wants to merge 1 commit into
apache:4.16from
stoty:PHOENIX-6553

Conversation

@stoty

@stotystoty commented Sep 20, 2021

Copy link
Copy Markdown
Contributor

This patch simply copies the 4.x directory onto the 4.16 one. (and reverts the project version in the pom so that it builds)

@stoty

Copy link
Copy Markdown
ContributorAuthor

@jpisaac I cannot request a review from you for some reason, but PTAL.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 17sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 2sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 25 new or modified test files.
_ 4.16 Compile Tests _
+1 💚mvninstall18m 27s4.16 passed
+1 💚compile0m 36s4.16 passed
+1 💚checkstyle0m 23s4.16 passed
+1 💚javadoc0m 16s4.16 passed
+0 🆗spotbugs0m 53sphoenix-pherf in 4.16 has 42 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall9m 43sthe patch passed
+1 💚compile0m 35sthe patch passed
+1 💚javac0m 35sthe patch passed
-1 ❌checkstyle0m 28sphoenix-pherf: The patch generated 294 new + 424 unchanged - 42 fixed = 718 total (was 466)
-1 ❌whitespace0m 0sThe patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌whitespace0m 0sThe patch 32 line(s) with tabs.
+1 💚xml0m 16sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 16sphoenix-pherf generated 26 new + 32 unchanged - 0 fixed = 58 total (was 32)
-1 ❌spotbugs1m 10sphoenix-pherf generated 6 new + 41 unchanged - 1 fixed = 47 total (was 42)
_ Other Tests _
+1 💚unit8m 48sphoenix-pherf in the patch passed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
47m 32s
ReasonTests
FindBugsmodule:phoenix-pherf
Found reliance on default encoding in org.apache.phoenix.pherf.util.PhoenixUtil.buildStatement(RulesApplier, Scenario, List, PreparedStatement, SimpleDateFormat):in org.apache.phoenix.pherf.util.PhoenixUtil.buildStatement(RulesApplier, Scenario, List, PreparedStatement, SimpleDateFormat): String.getBytes() At PhoenixUtil.java:[line 570]
Return value of org.apache.phoenix.pherf.workload.mt.operations.TenantOperationFactory.getPhoenixUtil() ignored, but method has no side effect At RendezvousingWorkHandler.java:but method has no side effect At RendezvousingWorkHandler.java:[line 83]
Return value of org.apache.phoenix.pherf.workload.mt.operations.TenantOperationFactory.getPhoenixUtil() ignored, but method has no side effect At TenantOperationWorkHandler.java:but method has no side effect At TenantOperationWorkHandler.java:[line 67]
A prepared statement is generated from a nonconstant String in org.apache.phoenix.pherf.workload.mt.operations.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:from a nonconstant String in org.apache.phoenix.pherf.workload.mt.operations.PreScenarioOperationSupplier$1.apply(TenantOperationInfo) At PreScenarioOperationSupplier.java:[line 74]
Impossible cast from RuntimeException to java.sql.SQLException in org.apache.phoenix.pherf.workload.mt.operations.TenantOperationFactory.executePreRunOpsForTenant(TenantOperationFactory$TenantView, TenantOperationInfo) At TenantOperationFactory.java:java.sql.SQLException in org.apache.phoenix.pherf.workload.mt.operations.TenantOperationFactory.executePreRunOpsForTenant(TenantOperationFactory$TenantView, TenantOperationInfo) At TenantOperationFactory.java:[line 354]
org.apache.phoenix.pherf.workload.mt.operations.UpsertOperationSupplier$1.apply(TenantOperationInfo) may fail to clean up java.sql.Statement Obligation to clean up resource created at UpsertOperationSupplier.java:up java.sql.Statement Obligation to clean up resource created at UpsertOperationSupplier.java:[line 107] is not discharged
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1315
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux 0c8a7a0f2937 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.16 / 238fcd7
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/whitespace-eol.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/diff-javadoc-javadoc-phoenix-pherf.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/artifact/yetus-general-check/output/new-spotbugs-phoenix-pherf.html
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/testReport/
Max. process+thread count2589 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1315/1/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasanivirajjasani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1, Since this patch brings 4.16 in sync, good to ship it as is, and for checkstyle/spotbugs/whitespace etc, we can work as separate Jira and fix for all applicable branches.

@stotystoty closed this Sep 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@stoty@virajjasani