Alex Liu created CASSANDRA-6099:
-----------------------------------

             Summary: 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


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

Reply via email to