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

Devaraj K commented on MAPREDUCE-2925:
--------------------------------------

Thanks Vinod and Sharad for clarifying.

bq. 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.
It is good idea. We can implement this.


bq. 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.

I am also thinking exactly same for this case. 

I will update the patch with these changes. 


> 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

        

Reply via email to