hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Naisbitt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2618) MR-279: 0 map, 0 reduce job fails with Null Pointer Exception
Date Thu, 23 Jun 2011 18:51:48 GMT

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

Jeffrey Naisbitt updated MAPREDUCE-2618:
----------------------------------------

    Attachment: MAPREDUCE-2618-v2.patch

New patch addresses Siddharth's comments.

The failing unit test was actually testing the condition this patch reverses.  I modified
that test and removed the equivalent test I had placed in my new tests.

> MR-279: 0 map, 0 reduce job fails with Null Pointer Exception
> -------------------------------------------------------------
>
>                 Key: MAPREDUCE-2618
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2618
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2618-v2.patch, MAPREDUCE-2618.patch
>
>
> A 0 map, 0 reduce job fails with an NPE. This case works fine on hadoop-0.20.x. The job
should succeed and run setup/cleanup code - with no tasks.  Below is the stacktrace:
> 11/06/05 19:35:37 WARN mapred.ClientServiceDelegate:
>  StackTrace: java.lang.NullPointerException
>         at org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl.getTaskAttemptCompletionEvents(JobImpl.java:498)
>         at
> org.apache.hadoop.mapreduce.v2.app.client.MRClientService$MRClientProtocolHandler.getTaskAttemptCompletionEvents(MRClientService.java:290)
>         at
> org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getTaskAttemptCompletionEvents(MRClientProtocolPBServiceImpl.java:139)
>         at
> org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:195)
>         at org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine$TunnelResponder.call(ProtoOverHadoopRpcEngine.java:168)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:420)
>         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1406)
>         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1402)
>         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:1094)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1400)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message