Skip to content

PHOENIX-6432 Add support for additional load generators - #1211

Merged
yanxinyi merged 1 commit into
apache:4.xfrom
jpisaac:PHOENIX-6432
May 8, 2021
Merged

PHOENIX-6432 Add support for additional load generators#1211
yanxinyi merged 1 commit into
apache:4.xfrom
jpisaac:PHOENIX-6432

Conversation

@jpisaac

Copy link
Copy Markdown
Contributor

No description provided.

@jpisaac

Copy link
Copy Markdown
ContributorAuthor

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 9sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 25 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall14m 59s4.x passed
+1 💚compile0m 35s4.x passed
+1 💚checkstyle0m 27s4.x passed
+1 💚javadoc0m 17s4.x passed
+0 🆗spotbugs1m 0sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 51sthe patch passed
+1 💚compile0m 37sthe patch passed
+1 💚javac0m 37sthe patch passed
-1 ❌checkstyle0m 32sphoenix-pherf: The patch generated 534 new + 757 unchanged - 286 fixed = 1291 total (was 1043)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 9sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 16sphoenix-pherf generated 25 new + 33 unchanged - 24 fixed = 58 total (was 57)
-1 ❌spotbugs1m 13sphoenix-pherf generated 12 new + 42 unchanged - 9 fixed = 54 total (was 51)
_ Other Tests _
+1 💚unit9m 31sphoenix-pherf in the patch passed.
-1 ❌asflicense0m 8sThe patch generated 6 ASF License warnings.
38m 48s
ReasonTests
FindBugsmodule:phoenix-pherf
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:[line 76]
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]
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:[line 65]
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]
input must be non-null but is marked as nullable At IdleTimeOperationSupplier.java:is marked as nullable At IdleTimeOperationSupplier.java:[lines 51-74]
input must be non-null but is marked as nullable At PreScenarioOperationSupplier.java:is marked as nullable At PreScenarioOperationSupplier.java:[lines 51-85]
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]
input must be non-null but is marked as nullable At QueryOperationSupplier.java:is marked as nullable At QueryOperationSupplier.java:[lines 54-94]
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 351]
input must be non-null but is marked as nullable At UpsertOperationSupplier.java:is marked as nullable At UpsertOperationSupplier.java:[lines 58-161]
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
input must be non-null but is marked as nullable At UserDefinedOperationSupplier.java:is marked as nullable At UserDefinedOperationSupplier.java:[lines 43-47]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1211
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux bbdaef41805f 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / c3f166e
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-1211/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-1211/1/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/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-1211/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-1211/1/testReport/
asflicensehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count2269 (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-1211/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.


import org.apache.phoenix.pherf.rules.RulesApplier;
import org.apache.phoenix.thirdparty.com.google.common.collect.Sets;
import org.apache.phoenix.pherf.configuration.*;

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: can you fix the import * here


// This holds the info whether the tenant view was created (initialized) or not.
return BloomFilter.create(tenantViewFunnel, numTenants, 0.01);
return BloomFilter.create(tenantViewFunnel, numTenants, 0.0000001);

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.

why did we change from 0.01 to 0.0000001?

@jpisaacjpisaacMay 6, 2021

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

https://hur.st/bloomfilter/?n=1000000&p=1.0E-7&m=&k=
This shows that the space requirements are not that large for 1M items, for a false-positive probability of 1 in 10
million

@@ -0,0 +1,52 @@
package org.apache.phoenix.pherf.workload.mt.generators;

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: apache license

@@ -0,0 +1,169 @@
package org.apache.phoenix.pherf.workload.mt.generators;

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: apache license

@@ -0,0 +1,25 @@
package org.apache.phoenix.pherf.workload.mt.generators;

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: apache license

@@ -0,0 +1,194 @@
package org.apache.phoenix.pherf.workload.mt.generators;

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: apache license

@@ -0,0 +1,169 @@
package org.apache.phoenix.pherf.workload.mt.generators;

import com.beust.jcommander.internal.Maps;

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.

what's the benefit of not using com.google.common.collect.Maps?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Wrong auto import

package org.apache.phoenix.pherf.workload.mt;

import com.google.common.collect.Lists;
import com.lmax.disruptor.WorkHandler;

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.

why do we need this WorkHandler?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

You mean in the imports?

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.

yes. I didn't see the usage in this class

@stoty

stoty commented May 6, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 14sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 25 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall29m 28s4.x passed
+1 💚compile0m 49s4.x passed
+1 💚checkstyle0m 38s4.x passed
+1 💚javadoc0m 22s4.x passed
+0 🆗spotbugs1m 15sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall9m 23sthe patch passed
+1 💚compile0m 46sthe patch passed
+1 💚javac0m 46sthe patch passed
-1 ❌checkstyle0m 41sphoenix-pherf: The patch generated 533 new + 758 unchanged - 285 fixed = 1291 total (was 1043)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 12sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 22sphoenix-pherf generated 25 new + 33 unchanged - 24 fixed = 58 total (was 57)
-1 ❌spotbugs1m 30sphoenix-pherf generated 12 new + 42 unchanged - 9 fixed = 54 total (was 51)
_ Other Tests _
+1 💚unit11m 49sphoenix-pherf in the patch passed.
+1 💚asflicense0m 11sThe patch does not generate ASF License warnings.
61m 0s
ReasonTests
FindBugsmodule:phoenix-pherf
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:[line 76]
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]
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:[line 65]
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]
input must be non-null but is marked as nullable At IdleTimeOperationSupplier.java:is marked as nullable At IdleTimeOperationSupplier.java:[lines 51-74]
input must be non-null but is marked as nullable At PreScenarioOperationSupplier.java:is marked as nullable At PreScenarioOperationSupplier.java:[lines 51-85]
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]
input must be non-null but is marked as nullable At QueryOperationSupplier.java:is marked as nullable At QueryOperationSupplier.java:[lines 54-94]
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 351]
input must be non-null but is marked as nullable At UpsertOperationSupplier.java:is marked as nullable At UpsertOperationSupplier.java:[lines 58-161]
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
input must be non-null but is marked as nullable At UserDefinedOperationSupplier.java:is marked as nullable At UserDefinedOperationSupplier.java:[lines 43-47]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1211
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux 66c52231d33b 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / aacab94
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-1211/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/2/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/2/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-1211/2/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-1211/2/testReport/
Max. process+thread count2207 (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-1211/2/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

stoty commented May 6, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker 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.x Compile Tests _
+1 💚mvninstall14m 19s4.x passed
+1 💚compile0m 36s4.x passed
+1 💚checkstyle0m 37s4.x passed
+1 💚javadoc0m 17s4.x passed
+0 🆗spotbugs0m 55sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 45sthe patch passed
+1 💚compile0m 36sthe patch passed
+1 💚javac0m 36sthe patch passed
-1 ❌checkstyle0m 43sphoenix-pherf: The patch generated 534 new + 758 unchanged - 286 fixed = 1292 total (was 1044)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 10sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 16sphoenix-pherf generated 25 new + 33 unchanged - 24 fixed = 58 total (was 57)
-1 ❌spotbugs1m 9sphoenix-pherf generated 12 new + 42 unchanged - 9 fixed = 54 total (was 51)
_ Other Tests _
+1 💚unit9m 0sphoenix-pherf in the patch passed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
36m 17s
ReasonTests
FindBugsmodule:phoenix-pherf
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:[line 76]
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]
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:[line 65]
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]
input must be non-null but is marked as nullable At IdleTimeOperationSupplier.java:is marked as nullable At IdleTimeOperationSupplier.java:[lines 51-74]
input must be non-null but is marked as nullable At PreScenarioOperationSupplier.java:is marked as nullable At PreScenarioOperationSupplier.java:[lines 51-85]
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]
input must be non-null but is marked as nullable At QueryOperationSupplier.java:is marked as nullable At QueryOperationSupplier.java:[lines 54-94]
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 351]
input must be non-null but is marked as nullable At UpsertOperationSupplier.java:is marked as nullable At UpsertOperationSupplier.java:[lines 58-161]
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
input must be non-null but is marked as nullable At UserDefinedOperationSupplier.java:is marked as nullable At UserDefinedOperationSupplier.java:[lines 43-47]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1211
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux 037bfcbfb8aa 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / ddc3996
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-1211/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/3/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/3/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-1211/3/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-1211/3/testReport/
Max. process+thread count2392 (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-1211/3/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

stoty commented May 6, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker 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.x Compile Tests _
+1 💚mvninstall13m 54s4.x passed
+1 💚compile0m 34s4.x passed
+1 💚checkstyle0m 37s4.x passed
+1 💚javadoc0m 18s4.x passed
+0 🆗spotbugs0m 56sphoenix-pherf in 4.x has 51 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 40sthe patch passed
+1 💚compile0m 35sthe patch passed
+1 💚javac0m 35sthe patch passed
-1 ❌checkstyle0m 44sphoenix-pherf: The patch generated 533 new + 759 unchanged - 285 fixed = 1292 total (was 1044)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 11sThe patch has no ill-formed XML file.
-1 ❌javadoc0m 16sphoenix-pherf generated 25 new + 33 unchanged - 24 fixed = 58 total (was 57)
-1 ❌spotbugs1m 8sphoenix-pherf generated 12 new + 42 unchanged - 9 fixed = 54 total (was 51)
_ Other Tests _
+1 💚unit9m 12sphoenix-pherf in the patch passed.
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
35m 55s
ReasonTests
FindBugsmodule:phoenix-pherf
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.RendezvousingWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at RendezvousingWorkHandler.java:[line 76]
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]
Possible null pointer dereference in org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:org.apache.phoenix.pherf.workload.mt.handlers.TenantOperationWorkHandler.onEvent(BaseLoadEventGenerator$TenantOperationEvent) due to return value of called method Dereferenced at TenantOperationWorkHandler.java:[line 65]
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]
input must be non-null but is marked as nullable At IdleTimeOperationSupplier.java:is marked as nullable At IdleTimeOperationSupplier.java:[lines 51-74]
input must be non-null but is marked as nullable At PreScenarioOperationSupplier.java:is marked as nullable At PreScenarioOperationSupplier.java:[lines 51-85]
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]
input must be non-null but is marked as nullable At QueryOperationSupplier.java:is marked as nullable At QueryOperationSupplier.java:[lines 54-94]
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]
input must be non-null but is marked as nullable At UpsertOperationSupplier.java:is marked as nullable At UpsertOperationSupplier.java:[lines 58-161]
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
input must be non-null but is marked as nullable At UserDefinedOperationSupplier.java:is marked as nullable At UserDefinedOperationSupplier.java:[lines 43-47]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1211
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs hbaseanti checkstyle
unameLinux 8e8933cb69bd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / ddc3996
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-1211/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-pherf.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/4/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1211/4/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-1211/4/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-1211/4/testReport/
Max. process+thread count2395 (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-1211/4/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@yanxinyi
yanxinyi merged commit 6d6bf9a into apache:4.xMay 8, 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.

3 participants

@jpisaac@stoty@yanxinyi