incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-54) MSCRPlanner throws NPE while writing back a file using a materialized Pcollection
Date Wed, 29 Aug 2012 10:25:07 GMT

     [ https://issues.apache.org/jira/browse/CRUNCH-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rahul Sharma updated CRUNCH-54:
-------------------------------

    Attachment: MrPipelinetTest.java

The attached test case demonstrates the issue.
                
> MSCRPlanner throws NPE while writing back a file using a materialized Pcollection
> ---------------------------------------------------------------------------------
>
>                 Key: CRUNCH-54
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-54
>             Project: Crunch
>          Issue Type: Bug
>          Components: IO
>            Reporter: Rahul Sharma
>         Attachments: MrPipelinetTest.java
>
>
> 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)
> 	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message