cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6099) Pig Storage classes should use IOException instead of RuntimeException
Date Wed, 25 Sep 2013 21:20:02 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Liu updated CASSANDRA-6099:
--------------------------------

    Attachment: 6099-1.2-branch.txt
    
> Pig Storage classes should use IOException instead of RuntimeException
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-6099
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6099
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>         Attachments: 6099-1.2-branch.txt
>
>
> If there is anything wrong in the script, a RuntimeException will results the following
scripts to error out even though the following scripts are correct.
> e.g.
> {code}
> grunt> newtable1 = LOAD 'cql://test_not_exist/test' USING CqlStorage();
> 2013-09-25 14:33:38,916 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected
internal error. InvalidRequestException(why:Keyspace 'test_not_exist' does not exist)
> Details at logfile: /home/automaton/pig_1380119534487.log
> grunt> newtable2 = LOAD 'cql://test_exist/test' USING CqlStorage(); 
> 2013-09-25 14:33:48,083 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected
internal error. InvalidRequestException(why:Keyspace 'test_not_exist' does not exist)
> Details at logfile: /home/automaton/pig_1380119534487.log
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message