hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod K V (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5174) Pipes example throws NullPointerException on trunk when run with LocalJobRunner
Date Thu, 05 Feb 2009 12:32:01 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670733#action_12670733
] 

Vinod K V commented on HADOOP-5174:
-----------------------------------


The problem line seems to be with using DistributedCache in pipes when running with LocalJobRunner(Application.java
+91)
{code}
    String executable = DistributedCache.getLocalCacheFiles(conf)[0].toString();
{code}

> Pipes example throws NullPointerException on trunk when run with LocalJobRunner
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-5174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5174
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: pipes
>            Reporter: Vinod K V
>
> Running the wordcount example (http://wiki.apache.org/hadoop/C++WordCount) fails with
the following exception when run with the LocalJobRunner:
> {code}
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.pipes.Application.<init>(Application.java:91)
>         at org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:68)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:344)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:295)
>         at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:140)
> Exception in thread "main" java.io.IOException: Job failed!
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1356)
>         at org.apache.hadoop.mapred.pipes.Submitter.runJob(Submitter.java:244)
>         at org.apache.hadoop.mapred.pipes.Submitter.run(Submitter.java:480)
>         at org.apache.hadoop.mapred.pipes.Submitter.main(Submitter.java:494)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message