hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5249) app logs with 'n' bytes via CLI fails with NumberFormatException
Date Tue, 14 Jun 2016 20:01:35 GMT

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

Xuan Gong commented on YARN-5249:
---------------------------------

Close this as duplicate. We will fix this in YARN-5251

> app logs with 'n' bytes via CLI fails with NumberFormatException
> ----------------------------------------------------------------
>
>                 Key: YARN-5249
>                 URL: https://issues.apache.org/jira/browse/YARN-5249
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.9.0
>            Reporter: Sumana Sathish
>            Assignee: Xuan Gong
>         Attachments: YARN-5249.1.patch
>
>
> app logs with 'n' bytes via CLI fails with NumberFormatException for finished appliction
> {code}
> yarn logs -applicationId application_1465421211793_0017 -size 1024 >> appLog1 on
finished application
> 2016-06-13 18:44:25,989 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl:
Adding #2 tokens and #1 secret keys for NM use for launching container
> 2016-06-13 18:44:25,989 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl:
Size of containertok"
>   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>   at java.lang.Long.parseLong(Long.java:589)
>   at java.lang.Long.parseLong(Long.java:631)
>   at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.readContainerLogs(AggregatedLogFormat.java:691)
>   at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.readAContainerLogsForALogType(AggregatedLogFormat.java:767)
>   at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:354)
>   at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchApplicationLogs(LogsCLI.java:830)
>   at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:231)
>   at org.apache.hadoop.yarn.client.cli.LogsCLI.main(LogsCLI.java:264)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message