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/02/25 20:28:21 UTC

[jira] Created: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

unhelpful exception when failing to set keyspace
------------------------------------------------

                 Key: CASSANDRA-2251
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
             Project: Cassandra
          Issue Type: Bug
            Reporter: Eric Evans
            Assignee: Eric Evans


If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Updated: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans updated CASSANDRA-2251:
----------------------------------

    Remaining Estimate: 0h
     Original Estimate: 0h

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Hudson commented on CASSANDRA-2251:
-----------------------------------

Integrated in Cassandra #745 (See [https://hudson.apache.org/hudson/job/Cassandra/745/])
    raise IRE for null keyspace

Patch by eevans; reviewed by jbellis for CASSANDRA-2251
raise IRE for null keyspace argument

Patch by eevans; reviewed by jbellis for CASSANDRA-2251


> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans commented on CASSANDRA-2251:
---------------------------------------

bq. maybe we should move the check into getKeyspace? there's a bunch of callers that don't call vCF afterwards.

That'll work too.  New patch attached.

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans commented on CASSANDRA-2251:
---------------------------------------

committed.

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Jonathan Ellis commented on CASSANDRA-2251:
-------------------------------------------

+1

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Updated: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans updated CASSANDRA-2251:
----------------------------------

    Attachment: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Jonathan Ellis commented on CASSANDRA-2251:
-------------------------------------------

maybe we should move the check into getKeyspace?  there's a bunch of callers that don't call vCF afterwards.

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Updated: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans updated CASSANDRA-2251:
----------------------------------

    Attachment:     (was: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt)

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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

        

[jira] Updated: (CASSANDRA-2251) unhelpful exception when failing to set keyspace

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

Eric Evans updated CASSANDRA-2251:
----------------------------------

    Attachment: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt, v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. 

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