You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Wanqiang Ji (JIRA)" <ji...@apache.org> on 2019/05/31 11:12:00 UTC

[jira] [Created] (MAPREDUCE-7211) NPE caused by JobHistoryEventHandler#serviceStop

Wanqiang Ji created MAPREDUCE-7211:
--------------------------------------

             Summary: NPE caused by JobHistoryEventHandler#serviceStop
                 Key: MAPREDUCE-7211
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7211
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Wanqiang Ji
            Assignee: Wanqiang Ji


Call stack:
{noformat}
 org.apache.h
adoop.service.AbstractService: Service JobHistoryEventHandler failed in state STOPPED; cause: java.lang.NullPointerException
 java.lang.NullPointerException
 at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.handleEvent(JobHistoryEventHandler.java:653)
 at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.serviceStop(JobHistoryEventHandler.java:443)
{noformat}
I found it caused by:

{noformat}
 2019-05-29 15:02:41,681 INFO [eventHandlingThread] org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler: Failed to write the job configuration file
 java.io.IOException: Unable to close file because the last blockBP-649451382-xxx.xxx.xxx.xxx-1557215524698:blk_1378020038_304562904 does not have enough number of replicas.
 at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.setupEventWriter(JobHistoryEventHandler.java:561)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org