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 "Xuan Gong (JIRA)" <ji...@apache.org> on 2014/06/13 18:35:01 UTC

[jira] [Commented] (YARN-2146) Yarn logs aggregation error

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

Xuan Gong commented on YARN-2146:
---------------------------------

[~airbots] 
Hey, Chen. Have you figured out why this happens ? I am very curious.

> Yarn logs aggregation error
> ---------------------------
>
>                 Key: YARN-2146
>                 URL: https://issues.apache.org/jira/browse/YARN-2146
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chen He
>
> when I run "yarn logs -applicationId application_xxx > /tmp/application_xxx". It creates file, also shows part of logs on the terminal screen, and reports following error: 	
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> 	at java.lang.Long.parseLong(Long.java:430)
> 	at java.lang.Long.parseLong(Long.java:483)
> 	at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.readAContainerLogsForALogType(AggregatedLogFormat.java:566)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:139)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:137)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.main(LogsCLI.java:199



--
This message was sent by Atlassian JIRA
(v6.2#6252)