You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Tassapol Athiapinya (JIRA)" <ji...@apache.org> on 2013/09/10 00:28:53 UTC
[jira] [Resolved] (YARN-1175) LogLength shown in $ yarn logs is 1
character longer than actual stdout
[ https://issues.apache.org/jira/browse/YARN-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tassapol Athiapinya resolved YARN-1175.
---------------------------------------
Resolution: Not A Problem
It works as intended.
> LogLength shown in $ yarn logs is 1 character longer than actual stdout
> -----------------------------------------------------------------------
>
> Key: YARN-1175
> URL: https://issues.apache.org/jira/browse/YARN-1175
> Project: Hadoop YARN
> Issue Type: Bug
> Components: applications/distributed-shell
> Reporter: Tassapol Athiapinya
> Fix For: 2.1.1-beta
>
>
> Run distributed shell with -shell_command "pwd". Do $ yarn logs on that application.
> Count number of characters in Log Contents field. Number of characters will be smaller than LogLength field by one.
> {code:title=mock-up yarn logs output}
> $ /usr/bin/yarn logs -applicationId application_1378424977532_0088
> ...
> LogType: stdout
> LogLength: 87
> Log Contents:
> /mypath/appcache/application_1378424977532_0088/container_1378424977532_0088_01_000002
> {code}
> ----
> {panel}
> Th length of
> "/mypath/appcache/application_1378424977532_0088/container_1378424977532_0088_01_000002"
> is 86.
> {panel}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira