Pig
  1. Pig
  2. PIG-2509

Util.getSchemaFromString fails with java.lang.NullPointerException when a tuple in a bag has no name (as when used in MongoStorage UDF)

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The MongoStorage UDF ( https://github.com/mongodb/mongo-hadoop ) fails on its call to Util.getSchemaFromString when a tuple is not named. The call succeeds when the tuple is explicitly named. As tuple naming is optional, this is a bug.

      See http://www.mail-archive.com/user%40pig.apache.org/msg04199.html and http://www.mail-archive.com/dev%40pig.apache.org/msg08016.html

      This makes me sad

      1. PIG-2509-0.patch
        2 kB
        Jonathan Coveney

        Activity

        Russell Jurney created issue -
        Jonathan Coveney made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Jonathan Coveney [ jcoveney ]
        Fix Version/s 0.10 [ 12316246 ]
        Fix Version/s 0.9.3 [ 12319456 ]
        Fix Version/s 0.11 [ 12318878 ]
        Jonathan Coveney made changes -
        Attachment PIG-2509-0.patch [ 12513845 ]
        Russell Jurney made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jonathan Coveney made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Jonathan Coveney made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Daniel Dai made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.9.3 [ 12319456 ]
        Resolution Fixed [ 1 ]
        Daniel Dai made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jonathan Coveney
            Reporter:
            Russell Jurney
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development