cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist
Date Fri, 03 Feb 2012 21:30:54 GMT
Pig should throw a useful error when the destination CF doesn't exist
---------------------------------------------------------------------

                 Key: CASSANDRA-3847
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3847
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
    Affects Versions: 0.7.0
            Reporter: Brandon Williams
            Assignee: Brandon Williams
             Fix For: 1.0.8


When trying to store data to nonexistent CF, no good error is returned.

Instead you get a message like:

{noformat}
[main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2042: Error in new logical plan. Try
-Dpig.usenewlogicalplan=false.
{noformat}

Which, if you follow its advice, will eventually lead you to an NPE in initSchema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message