You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2011/03/15 20:50:29 UTC

[jira] Created: (CASSANDRA-2334) validateSchemaAgreement() should raise something besides InvalidRequestException

validateSchemaAgreement() should raise something besides InvalidRequestException
--------------------------------------------------------------------------------

                 Key: CASSANDRA-2334
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2334
             Project: Cassandra
          Issue Type: Improvement
          Components: API, Core
    Affects Versions: 0.8
            Reporter: Eric Evans
            Assignee: Eric Evans
            Priority: Minor


{{ThriftValidation.validateSchemaAgreement()}} throws {{InvalidRequestException}} when schemas disagree.  Since this is propagated to the client, a more specific exception would relay more context to clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (CASSANDRA-2334) validateSchemaAgreement() should raise something besides InvalidRequestException

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans resolved CASSANDRA-2334.
-----------------------------------

    Resolution: Fixed

committed

> validateSchemaAgreement() should raise something besides InvalidRequestException
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2334
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2334
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API, Core
>    Affects Versions: 0.8
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>         Attachments: v1-0001-CASSANDRA-2334-add-SchemaDisagreementException-RPC-exc.txt, v1-0002-thrift-generated-code.txt, v1-0003-throw-SchemaDisagreementException-from-DDL-methods.txt, v1-0004-update-JDBC-driver-for-SchemaDisagreementException.txt, v1-0005-handle-SchemaDisagreementException-in-cli.txt, v1-0006-update-Python-driver-for-SchemaDisagreementException.txt
>
>
> {{ThriftValidation.validateSchemaAgreement()}} throws {{InvalidRequestException}} when schemas disagree.  Since this is propagated to the client, a more specific exception would relay more context to clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (CASSANDRA-2334) validateSchemaAgreement() should raise something besides InvalidRequestException

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-2334:
----------------------------------

    Attachment: v1-0006-update-Python-driver-for-SchemaDisagreementException.txt
                v1-0005-handle-SchemaDisagreementException-in-cli.txt
                v1-0004-update-JDBC-driver-for-SchemaDisagreementException.txt
                v1-0003-throw-SchemaDisagreementException-from-DDL-methods.txt
                v1-0002-thrift-generated-code.txt
                v1-0001-CASSANDRA-2334-add-SchemaDisagreementException-RPC-exc.txt

> validateSchemaAgreement() should raise something besides InvalidRequestException
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2334
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2334
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API, Core
>    Affects Versions: 0.8
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>         Attachments: v1-0001-CASSANDRA-2334-add-SchemaDisagreementException-RPC-exc.txt, v1-0002-thrift-generated-code.txt, v1-0003-throw-SchemaDisagreementException-from-DDL-methods.txt, v1-0004-update-JDBC-driver-for-SchemaDisagreementException.txt, v1-0005-handle-SchemaDisagreementException-in-cli.txt, v1-0006-update-Python-driver-for-SchemaDisagreementException.txt
>
>
> {{ThriftValidation.validateSchemaAgreement()}} throws {{InvalidRequestException}} when schemas disagree.  Since this is propagated to the client, a more specific exception would relay more context to clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CASSANDRA-2334) validateSchemaAgreement() should raise something besides InvalidRequestException

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007299#comment-13007299 ] 

Hudson commented on CASSANDRA-2334:
-----------------------------------

Integrated in Cassandra #781 (See [https://hudson.apache.org/hudson/job/Cassandra/781/])
    update Python driver for SchemaDisagreementException

Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334
handle SchemaDisagreementException in cli

Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334
update JDBC driver for SchemaDisagreementException

Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334
throw SchemaDisagreementException from DDL methods

Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334
thrift generated code

Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334
add SchemaDisagreementException RPC exception

Patch by eevans for CASSANDRA-2334; reviewed by brandon.williams


> validateSchemaAgreement() should raise something besides InvalidRequestException
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2334
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2334
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API, Core
>    Affects Versions: 0.8
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>         Attachments: v1-0001-CASSANDRA-2334-add-SchemaDisagreementException-RPC-exc.txt, v1-0002-thrift-generated-code.txt, v1-0003-throw-SchemaDisagreementException-from-DDL-methods.txt, v1-0004-update-JDBC-driver-for-SchemaDisagreementException.txt, v1-0005-handle-SchemaDisagreementException-in-cli.txt, v1-0006-update-Python-driver-for-SchemaDisagreementException.txt
>
>
> {{ThriftValidation.validateSchemaAgreement()}} throws {{InvalidRequestException}} when schemas disagree.  Since this is propagated to the client, a more specific exception would relay more context to clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CASSANDRA-2334) validateSchemaAgreement() should raise something besides InvalidRequestException

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007224#comment-13007224 ] 

Brandon Williams commented on CASSANDRA-2334:
---------------------------------------------

+1

> validateSchemaAgreement() should raise something besides InvalidRequestException
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2334
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2334
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API, Core
>    Affects Versions: 0.8
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>         Attachments: v1-0001-CASSANDRA-2334-add-SchemaDisagreementException-RPC-exc.txt, v1-0002-thrift-generated-code.txt, v1-0003-throw-SchemaDisagreementException-from-DDL-methods.txt, v1-0004-update-JDBC-driver-for-SchemaDisagreementException.txt, v1-0005-handle-SchemaDisagreementException-in-cli.txt, v1-0006-update-Python-driver-for-SchemaDisagreementException.txt
>
>
> {{ThriftValidation.validateSchemaAgreement()}} throws {{InvalidRequestException}} when schemas disagree.  Since this is propagated to the client, a more specific exception would relay more context to clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira