You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2019/12/17 06:20:00 UTC

[jira] [Commented] (PHOENIX-5630) MAX_MUTATION_SIZE_EXCEEDED and MAX_MUTATION_SIZE_BYTES_EXCEEDED SQLExceptions should print existing size

    [ https://issues.apache.org/jira/browse/PHOENIX-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997916#comment-16997916 ] 

Chinmay Kulkarni commented on PHOENIX-5630:
-------------------------------------------

[~neha.gupta] This is a good beginner JIRA to work on, do you want to take a look?
FYI [~sukumaddineni]

> MAX_MUTATION_SIZE_EXCEEDED and MAX_MUTATION_SIZE_BYTES_EXCEEDED SQLExceptions should print existing size
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5630
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5630
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.15.0
>            Reporter: Chinmay Kulkarni
>            Priority: Major
>              Labels: beginner, newbie
>             Fix For: 4.15.1
>
>
> These exceptions do not print the existing size of the MutationState. We should add the existing size to the exception message for help in debugging. For ex:
> {code:java}
> Caused by: java.sql.SQLException: ERROR 730 (LIM02): MutationState size is bigger than maximum allowed number of bytes
>     at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:494)
>     at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:150)
>     at org.apache.phoenix.execute.MutationState.throwIfTooBig(MutationState.java:371)
>     at org.apache.phoenix.execute.MutationState.join(MutationState.java:471)
>     at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:409)
>     at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:391)
>     at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
>     at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:390)
>     at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:378)
>     at org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:173)
>     at org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:183)
>     at org.apache.phoenix.jdbc.DelegatePreparedStatement.execute(DelegatePreparedStatement.java:284)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)