hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-3630) NullPointerException running teragen
Date Tue, 17 Jan 2012 22:05:40 GMT

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

Mahadev konar updated MAPREDUCE-3630:
-------------------------------------

    Attachment: MAPREDUCE-3630.patch

Minor patch to fix the NPE. Didnt add any tests since the tests should be ported with MAPREDUCE-3582.
                
> NullPointerException running teragen
> ------------------------------------
>
>                 Key: MAPREDUCE-3630
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3630
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Amol Kekre
>            Assignee: Mahadev konar
>            Priority: Critical
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3630.patch
>
>
> CMD = /grid/0/gs/gridre/yroot.omegab/share/hadoopcommon/bin/hadoop --config /grid/0/gs/gridre/yroot.omegab/conf/hadoop/
> jar /grid/0/gs/gridre/yroot.omegab/share/hadoopmapred/hadoop-mapreduce-examples-*.jar
teragen
> -Dmapred.job.queue.name=audience -Dmapreduce.job.acl-view-job=* -Dyarn.app.mapreduce.am.staging-dir=/user
> -Dmapreduce.jobtracker.staging.root.dir=/user 1 teraInputDir
> Error:
> 11/09/21 21:59:59 INFO mapreduce.Job:  map 50% reduce 0%
> 11/09/21 22:00:00 INFO mapreduce.Job: Task Id : attempt_1316132655177_0533_m_000001_0,
Status : FAILED
> java.lang.NullPointerException
>         at org.apache.hadoop.examples.terasort.TeraGen$SortGenMapper.cleanup(TeraGen.java:241)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:708)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
>         at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1135)
>         at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:143)
> 11/09/21 22:00:00 WARN mapreduce.Job: Error reading task output Server returned HTTP
response code: 400 for URL: http://.../tasklog?plaintext=true&attemptid=attempt_1316132655177_0533_m_000001_0&filter=stdout
> 11/09/21 22:00:00 WARN mapreduce.Job: Error reading task output Server returned HTTP
response code: 400 for URL: http://.../tasklog?plaintext=true&attemptid=attempt_1316132655177_0533_m_000001_0&filter=stderr

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message