You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "nijel (Jira)" <ji...@apache.org> on 2021/06/26 16:14:00 UTC
[jira] [Assigned] (YARN-4303) Confusing help message if AM logs
cant be retrieved via yarn logs command
[ https://issues.apache.org/jira/browse/YARN-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nijel reassigned YARN-4303:
---------------------------
Assignee: (was: nijel)
> Confusing help message if AM logs cant be retrieved via yarn logs command
> -------------------------------------------------------------------------
>
> Key: YARN-4303
> URL: https://issues.apache.org/jira/browse/YARN-4303
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Varun Saxena
> Priority: Minor
>
> {noformat}
> yarn@BLR1000002525:~/test/install/hadoop/resourcemanager/bin> ./yarn logs --applicationId application_1445832014581_0028 -am ALL
> Can not get AMContainers logs for the application:application_1445832014581_0028
> This application:application_1445832014581_0028 is finished. Please enable the application history service. Or Using yarn logs -applicationId <appId> -containerId <containerId> --nodeAddress <nodeHttpAddress> to get the container logs
> {noformat}
> Part of the command output mentioned above indicates that using {{yarn logs -applicationId <appId> -containerId <containerId> --nodeAddress <nodeHttpAddress>}} will fetch desired result. It asks you to specify nodeHttpAddress which makes it sound like we have to connect to nodemanager's webapp address.
> This help message should be changed to include command as {{yarn logs -applicationId <appId> -containerId <containerId> --nodeAddress <Node Address>}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org