[
https://issues.apache.org/jira/browse/PHOENIX-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17229985#comment-17229985
]
ASF GitHub Bot commented on PHOENIX-6155:
-----------------------------------------
stoty commented on pull request #960:
URL: https://github.com/apache/phoenix/pull/960#issuecomment-725438703
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Comment |
|:----:|----------:|--------:|:--------|
| +0 :ok: | reexec | 1m 26s | Docker mode activated. |
||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 1s | No case conflicting files
found. |
| +1 :green_heart: | hbaseanti | 0m 0s | Patch does not have any
anti-patterns. |
| +1 :green_heart: | @author | 0m 0s | The patch does not contain any
@author tags. |
| -1 :x: | 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 :ok: | mvndep | 3m 37s | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 11m 58s | master passed |
| +1 :green_heart: | compile | 1m 40s | master passed |
| +1 :green_heart: | checkstyle | 5m 4s | master passed |
| +1 :green_heart: | javadoc | 2m 17s | master passed |
| +0 :ok: | spotbugs | 3m 17s | phoenix-core in master has 962 extant
spotbugs warnings. |
| +0 :ok: | spotbugs | 4m 59s | root in master has 1011 extant spotbugs
warnings. |
||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 12s | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 9m 38s | the patch passed |
| +1 :green_heart: | compile | 1m 38s | the patch passed |
| +1 :green_heart: | cc | 1m 38s | the patch passed |
| +1 :green_heart: | javac | 1m 38s | the patch passed |
| -1 :x: | checkstyle | 5m 11s | root: The patch generated 523 new +
16172 unchanged - 59 fixed = 16695 total (was 16231) |
| +1 :green_heart: | prototool | 0m 3s | There were no new prototool
issues. |
| +1 :green_heart: | whitespace | 0m 0s | The patch has no whitespace
issues. |
| +1 :green_heart: | javadoc | 2m 9s | the patch passed |
| -1 :x: | spotbugs | 3m 38s | phoenix-core generated 9 new + 962
unchanged - 0 fixed = 971 total (was 962) |
| -1 :x: | spotbugs | 4m 48s | root generated 9 new + 1011 unchanged -
0 fixed = 1020 total (was 1011) |
||| _ Other Tests _ |
| -1 :x: | unit | 169m 41s | root in the patch failed. |
| +1 :green_heart: | asflicense | 0m 43s | The patch does not generate
ASF License warnings. |
| | | 235m 5s | |
| Reason | Tests |
|-------:|:------|
| FindBugs | module:phoenix-core |
| |
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest.PARSER
isn't final but should be At TaskMetaDataProtos.java:be At
TaskMetaDataProtos.java:[line 114] |
| | Class
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest
defines non-transient non-serializable instance field unknownFields In
TaskMetaDataProtos.java:instance field unknownFields In
TaskMetaDataProtos.java |
| | Useless control flow in
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest$Builder.maybeForceBuilderInitialization()
At TaskMetaDataProtos.java: At TaskMetaDataProtos.java:[line 330] |
| | org.apache.phoenix.schema.task.SystemTaskParams.getEndTs() may expose
internal representation by returning SystemTaskParams.endTs At
SystemTaskParams.java:by returning SystemTaskParams.endTs At
SystemTaskParams.java:[line 99] |
| | org.apache.phoenix.schema.task.SystemTaskParams.getStartTs() may
expose internal representation by returning SystemTaskParams.startTs At
SystemTaskParams.java:by returning SystemTaskParams.startTs At
SystemTaskParams.java:[line 95] |
| | new org.apache.phoenix.schema.task.SystemTaskParams(PhoenixConnection,
PTable$TaskType, String, String, String, String, String, Integer, Timestamp,
Timestamp, boolean) may expose internal representation by storing an externally
mutable object into SystemTaskParams.endTs At SystemTaskParams.java:String,
String, String, Integer, Timestamp, Timestamp, boolean) may expose internal
representation by storing an externally mutable object into
SystemTaskParams.endTs At SystemTaskParams.java:[line 58] |
| | new org.apache.phoenix.schema.task.SystemTaskParams(PhoenixConnection,
PTable$TaskType, String, String, String, String, String, Integer, Timestamp,
Timestamp, boolean) may expose internal representation by storing an externally
mutable object into SystemTaskParams.startTs At SystemTaskParams.java:String,
String, String, Integer, Timestamp, Timestamp, boolean) may expose internal
representation by storing an externally mutable object into
SystemTaskParams.startTs At SystemTaskParams.java:[line 57] |
| |
org.apache.phoenix.schema.task.SystemTaskParams$SystemTaskParamsBuilder.setEndTs(Timestamp)
may expose internal representation by storing an externally mutable object
into SystemTaskParams$SystemTaskParamsBuilder.endTs At
SystemTaskParams.java:by storing an externally mutable object into
SystemTaskParams$SystemTaskParamsBuilder.endTs At SystemTaskParams.java:[line
166] |
| |
org.apache.phoenix.schema.task.SystemTaskParams$SystemTaskParamsBuilder.setStartTs(Timestamp)
may expose internal representation by storing an externally mutable object
into SystemTaskParams$SystemTaskParamsBuilder.startTs At
SystemTaskParams.java:by storing an externally mutable object into
SystemTaskParams$SystemTaskParamsBuilder.startTs At
SystemTaskParams.java:[line 161] |
| FindBugs | module:root |
| |
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest.PARSER
isn't final but should be At TaskMetaDataProtos.java:be At
TaskMetaDataProtos.java:[line 114] |
| | Class
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest
defines non-transient non-serializable instance field unknownFields In
TaskMetaDataProtos.java:instance field unknownFields In
TaskMetaDataProtos.java |
| | Useless control flow in
org.apache.phoenix.coprocessor.generated.TaskMetaDataProtos$TaskMutateRequest$Builder.maybeForceBuilderInitialization()
At TaskMetaDataProtos.java: At TaskMetaDataProtos.java:[line 330] |
| | org.apache.phoenix.schema.task.SystemTaskParams.getEndTs() may expose
internal representation by returning SystemTaskParams.endTs At
SystemTaskParams.java:by returning SystemTaskParams.endTs At
SystemTaskParams.java:[line 99] |
| | org.apache.phoenix.schema.task.SystemTaskParams.getStartTs() may
expose internal representation by returning SystemTaskParams.startTs At
SystemTaskParams.java:by returning SystemTaskParams.startTs At
SystemTaskParams.java:[line 95] |
| | new org.apache.phoenix.schema.task.SystemTaskParams(PhoenixConnection,
PTable$TaskType, String, String, String, String, String, Integer, Timestamp,
Timestamp, boolean) may expose internal representation by storing an externally
mutable object into SystemTaskParams.endTs At SystemTaskParams.java:String,
String, String, Integer, Timestamp, Timestamp, boolean) may expose internal
representation by storing an externally mutable object into
SystemTaskParams.endTs At SystemTaskParams.java:[line 58] |
| | new org.apache.phoenix.schema.task.SystemTaskParams(PhoenixConnection,
PTable$TaskType, String, String, String, String, String, Integer, Timestamp,
Timestamp, boolean) may expose internal representation by storing an externally
mutable object into SystemTaskParams.startTs At SystemTaskParams.java:String,
String, String, Integer, Timestamp, Timestamp, boolean) may expose internal
representation by storing an externally mutable object into
SystemTaskParams.startTs At SystemTaskParams.java:[line 57] |
| |
org.apache.phoenix.schema.task.SystemTaskParams$SystemTaskParamsBuilder.setEndTs(Timestamp)
may expose internal representation by storing an externally mutable object
into SystemTaskParams$SystemTaskParamsBuilder.endTs At
SystemTaskParams.java:by storing an externally mutable object into
SystemTaskParams$SystemTaskParamsBuilder.endTs At SystemTaskParams.java:[line
166] |
| |
org.apache.phoenix.schema.task.SystemTaskParams$SystemTaskParamsBuilder.setStartTs(Timestamp)
may expose internal representation by storing an externally mutable object
into SystemTaskParams$SystemTaskParamsBuilder.startTs At
SystemTaskParams.java:by storing an externally mutable object into
SystemTaskParams$SystemTaskParamsBuilder.startTs At
SystemTaskParams.java:[line 161] |
| Failed junit tests | phoenix.end2end.index.txn.RollbackIT |
| | phoenix.end2end.UpgradeIT |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.40 ServerAPI=1.40 base:
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/artifact/yetus-general-check/output/Dockerfile
|
| GITHUB PR | https://github.com/apache/phoenix/pull/960 |
| Optional Tests | dupname asflicense javac javadoc unit spotbugs hbaseanti
checkstyle compile cc prototool |
| uname | Linux 6b625be7ba32 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 tool | maven |
| Personality | dev/phoenix-personality.sh |
| git revision | master / 8bb8956 |
| Default Java | Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08 |
| checkstyle |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
|
| spotbugs |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
|
| spotbugs |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/artifact/yetus-general-check/output/new-spotbugs-root.html
|
| unit |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/artifact/yetus-general-check/output/patch-unit-root.txt
|
| Test Results |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/testReport/
|
| Max. process+thread count | 6225 (vs. ulimit of 30000) |
| modules | C: phoenix-core . U: . |
| Console output |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-960/2/console
|
| versions | git=2.7.4 maven=3.3.9 spotbugs=4.1.3 prototool=1.10.0-dev |
| Powered by | Apache Yetus 0.12.0 https://yetus.apache.org |
This message was automatically generated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Prevent doing direct upserts into SYSTEM.TASK from the client
> -------------------------------------------------------------
>
> Key: PHOENIX-6155
> URL: https://issues.apache.org/jira/browse/PHOENIX-6155
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 5.0.0, 4.15.0
> Reporter: Chinmay Kulkarni
> Assignee: Viraj Jasani
> Priority: Major
> Fix For: 5.1.0, 4.16.0
>
> Attachments: PHOENIX-6155.4.x.000.patch
>
>
> In environments with namespace-mapping enabled, we will have to grant write
> access to clients in order to make direct upserts into SYSTEM.TASK. Currently
> we add a task from the client-side
> [here|https://github.com/apache/phoenix/blob/4.x/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java#L4654].
> In order to implement other Jiras like
> [PHOENIX-6154|https://issues.apache.org/jira/browse/PHOENIX-6154] we also may
> need to interact with the SYSTEM.TASK table from the client-side.
> Instead of doing direct upserts into this table, we should add an endpoint on
> SYSTEM.TASK and clients should interact with that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)