hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5080) Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM
Date Mon, 16 May 2016 20:44:12 GMT

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

Vinod Kumar Vavilapalli commented on YARN-5080:

bq. Vinod Kumar Vavilapalli, the Jenkins test was actually kicked off but failed to post here:
https://builds.apache.org/job/PreCommit-YARN-Build/11442/ (test failures are not related and
get tracked in YARN-4982). The same thing keep happening during the same time for other JIRAs
like YARN-4325, etc., so I didn't mention it before in my previous review.
Ah, I see. That's okay, but next time please do a leave a comment on the main JIRA so that
others can also know what exactly happened.

bq. About the patch, I think you are right that we missed the case for different RM bind-host
configuration "yarn.resourcemanager.bind-host". However, the existing WebAppUtils.getWebAppBindURL()
seems doesn't handle well when bind-host is set to "".
I don't think that's the main bug. In the previous code,
    String webAppAddress =
        WebAppUtils.getWebAppBindURL(conf, YarnConfiguration.RM_BIND_HOST,
you were passing a URL with scheme, whereas {{getWebAppBindURL()}} explicitly needs a {{webAppURLWithoutScheme}}
as parameter.

> Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM
> ---------------------------------------------------------------------
>                 Key: YARN-5080
>                 URL: https://issues.apache.org/jira/browse/YARN-5080
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.8.0
>            Reporter: Sumana Sathish
>            Assignee: Xuan Gong
>            Priority: Critical
>             Fix For: 2.8.0
>         Attachments: YARN-5080.1.patch
> When the application is running, if we try to obtain AM logs using 
> {code}
> yarn logs -applicationId <applicationId> -am 1
> {code}
> It throws the following error
> {code}
> Unable to get AM container informations for the application:<applicationId>
> Illegal character in scheme name at index 0:<hostname>
> {code} 

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