Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5174

Pipes example throws NullPointerException on trunk when run with LocalJobRunner

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Running the wordcount example (http://wiki.apache.org/hadoop/C++WordCount) fails with the following exception when run with the LocalJobRunner:

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vinodkv Vinod Kumar Vavilapalli
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: