hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4303) Confusing help message if AM logs cant be retrieved via yarn logs command
Date Tue, 27 Oct 2015 10:47:27 GMT

     [ https://issues.apache.org/jira/browse/YARN-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Saxena updated YARN-4303:
-------------------------------
    Description: 
{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}

The command mentioned above is  {{yarn logs -applicationId <appId> -containerId <containerId>
--nodeAddress <nodeHttpAddress>}}. It asks you to specify nodeHttpAddress which makes
it sound like we have to connect to Node's http port and may lead user to think that they
have to connect to nodemanager's webapp address.

This command should be changed to {{yarn logs -applicationId <appId> -containerId <containerId>
--nodeAddress <Node Address>}}

  was:
{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}

The command mentioned above is  {{yarn logs -applicationId <appId> -containerId <containerId>
--nodeAddress <nodeHttpAddress>}}. It asks you to specify nodeHttpAddress which makes
it sound like we have to connect to Node's http port which may confuse user to think that
we have to connect to nodemanager's webapp address.

This command should be changed to {{yarn logs -applicationId <appId> -containerId <containerId>
--nodeAddress <Node Address>}}


> 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
>            Assignee: 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}
> The command mentioned above is  {{yarn logs -applicationId <appId> -containerId
<containerId> --nodeAddress <nodeHttpAddress>}}. It asks you to specify nodeHttpAddress
which makes it sound like we have to connect to Node's http port and may lead user to think
that they have to connect to nodemanager's webapp address.
> This command should be changed to {{yarn logs -applicationId <appId> -containerId
<containerId> --nodeAddress <Node Address>}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message