You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Created) (JIRA)" <ji...@apache.org> on 2012/02/03 22:30:54 UTC

[jira] [Created] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

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

        

[jira] [Updated] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

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

Brandon Williams updated CASSANDRA-3847:
----------------------------------------

    Reviewer: xedin
    
> 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
>
>         Attachments: 3847.txt
>
>
> 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

        

[jira] [Updated] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

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

Brandon Williams updated CASSANDRA-3847:
----------------------------------------

    Attachment: 3847.txt

Unfortunately, there's nothing we can do about pig catching errors and rethrowing the "org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false." message, but we can at least throw a helpful error into the log instead of an NPE.
                
> 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
>
>         Attachments: 3847.txt
>
>
> 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

        

[jira] [Resolved] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

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

Brandon Williams resolved CASSANDRA-3847.
-----------------------------------------

    Resolution: Fixed

Committed.
                
> 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
>
>         Attachments: 3847.txt
>
>
> 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

        

[jira] [Commented] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

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

Pavel Yaskevich commented on CASSANDRA-3847:
--------------------------------------------

+1'ed
                
> 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
>
>         Attachments: 3847.txt
>
>
> 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

        

[jira] [Issue Comment Edited] (CASSANDRA-3847) Pig should throw a useful error when the destination CF doesn't exist

Posted by "Pavel Yaskevich (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201577#comment-13201577 ] 

Pavel Yaskevich edited comment on CASSANDRA-3847 at 2/6/12 9:00 PM:
--------------------------------------------------------------------

+1
                
      was (Author: xedin):
    +1'ed
                  
> 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
>
>         Attachments: 3847.txt
>
>
> 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