Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-54

MSCRPlanner throws NPE while writing back a file using a materialized Pcollection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • IO
    • None

    Description

      When we try to write back a materialized collection to a file using the To.Text(..) the MCSPlanner throws back a NPE.

      java.lang.NullPointerException
      at org.apache.crunch.impl.mr.plan.MSCRPlanner.constructJobPrototypes(MSCRPlanner.java:192)
      at org.apache.crunch.impl.mr.plan.MSCRPlanner.plan(MSCRPlanner.java:98)
      at org.apache.crunch.impl.mr.MRPipeline.run(MRPipeline.java:116)
      at org.apache.crunch.MrPipelinetTest.pipelineShouldNotFail(MrPipelinetTest.java:41)

      Attachments

        1. MrPipelinetTest.java
          1 kB
          Rahul Sharma
        2. CRUNCH-54-NPE-from-MCSPlanner.patch
          4 kB
          Rahul Sharma

        Activity

          People

            rahul.sharma Rahul Sharma
            rahul.sharma Rahul Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: