[
https://issues.apache.org/jira/browse/MAPREDUCE-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105197#comment-13105197
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2925:
----------------------------------------------------
Misssed this one. Here's what I think we should do:
- Client should check if {{JobHistoryServer}}(_JHS_) is configured or not. To
facilitate this, we should *not* have a default address for _JHS_ on the
client. If it is not configured, client should not attempt to reach _JHS_.
- In {{ClientServiceDelegate}}, we need to unwrap the
_InvocationTargetException_ to get the exception thrown by the method. If the
wrapped exception is of type _YarnRemoteException_, we should return from the
call. (BTW, *this* is the real bug you are running into and needs fixing).
Otherwise it is a connection error and we should just keep retrying.
> job -status <JOB_ID> is giving continuously info message for completed jobs
> on the console
> ------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2925
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2925
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Devaraj K
> Assignee: Devaraj K
> Fix For: 0.23.0, 0.24.0
>
> Attachments: MAPREDUCE-2925.patch
>
>
> This below message is coming continuously on the console.
> {code:xml}
> 11/09/02 16:00:00 INFO mapred.ClientServiceDelegate: Failed to contact AM for
> job job_1314955256658_0009 Will retry..
> 11/09/02 16:00:00 INFO mapred.ClientServiceDelegate: Application state is
> completed. Redirecting to job history server null
> 11/09/02 16:00:00 INFO mapred.ClientServiceDelegate: Failed to contact AM for
> job job_1314955256658_0009 Will retry..
> 11/09/02 16:00:00 INFO mapred.ClientServiceDelegate: Application state is
> completed. Redirecting to job history server null
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira