Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 710B71091A for ; Wed, 25 Sep 2013 21:20:08 +0000 (UTC) Received: (qmail 28898 invoked by uid 500); 25 Sep 2013 21:20:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 28847 invoked by uid 500); 25 Sep 2013 21:20:04 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 28820 invoked by uid 99); 25 Sep 2013 21:20:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 21:20:03 +0000 Date: Wed, 25 Sep 2013 21:20:02 +0000 (UTC) From: "Alex Liu (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-6099) Pig Storage classes should use IOException instead of RuntimeException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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