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

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

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

Wanqiang Ji updated MAPREDUCE-7211:
-----------------------------------
    Description: 
Call stack:
{noformat}
org.apache.hadoop.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}

  was:
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}


> 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
>            Priority: Major
>
> Call stack:
> {noformat}
> org.apache.hadoop.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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org