hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5226) remove AHS enable check from LogsCLI#fetchAMContainerLogs
Date Mon, 01 Aug 2016 17:47:20 GMT

    [ https://issues.apache.org/jira/browse/YARN-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402489#comment-15402489

Junping Du commented on YARN-5226:

bq. We are using YarnClient which would handle all the cases, including the check on whether
the timeline service is enabled.
Actually, I am talking about LogsCLI#fetchAMContainerLogs() where we call getAMContainerInfoForAHSWebService()
internally. User cannot differentiate the failure is due to ATS not enabling in server side
or networking failures so I think it could be better to have a check similar to what we have
in YarnClient.

BTW, in long run, I think we could prefer to have a remote RPC call to get ATS status (enabled/disabled)
from RM instead of client side configuration check - this is because the possible inconsistency
between configurations from client and server.

> remove AHS enable check from LogsCLI#fetchAMContainerLogs
> ---------------------------------------------------------
>                 Key: YARN-5226
>                 URL: https://issues.apache.org/jira/browse/YARN-5226
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-5226.1.patch, YARN-5226.2.patch

This message was sent by Atlassian JIRA

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

View raw message