Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3847

Pig should throw a useful error when the destination CF doesn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0.8
    • None
    • None
    • Normal

    Description

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

      Instead you get a message like:

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

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

      Attachments

        1. 3847.txt
          1 kB
          Brandon Williams

        Activity

          People

            brandon.williams Brandon Williams
            brandon.williams Brandon Williams
            Brandon Williams
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: