[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287752#comment-16287752
 ] 

lujie edited comment on MAPREDUCE-5413 at 12/12/17 3:34 PM:
------------------------------------------------------------

Recently i also meet this bug in 0.23.11, it duplicates with 
[MR-4071|https://issues.apache.org/jira/browse/MAPREDUCE-4071]


was (Author: xiaoheipangzi):
Recently i also meet this bug in 0.23.11, it duplicates with 4071

> Killing mapred job in Initial stage leads to java.lang.NullPointerException
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5413
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5413
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Yesha Vora
>            Assignee: Omkar Vinit Joshi
>         Attachments: syslog_MapredKillTask(1).docx
>
>
> Run a MR job and kill it as soon as jobId is known. After killing the job, 
> try to kill its attempts. 
> Steps:
> 1) start a map reduce job
> hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep -m 10 -r 10 -mt 
> 50000 -rt 50000
> 2)Kill the job
> hadoop job -kill <job-id>
> 3)Try to kill the attempts for above job.
> Result:
> mapred job was not able to shut down properly. Attaching syslog. It does not 
> kill its attempts also.
> Above steps leads to below exception,
> org.apache.hadoop.util.ShutdownHookManager: ShutdownHook 
> 'MRAppMasterShutdownHook' failed, java.lang.NullPointerException
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster$ContainerAllocatorRouter.setSignalled(MRAppMaster.java:811)
>       at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster$MRAppMasterShutdownHook.run(MRAppMaster.java:1249)
>       at 
> org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to