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] [Updated] (YARN-5231) obtaining app logs for last 'n' bytes using CLI gives 'java.io.IOException'
Date Fri, 10 Jun 2016 18:47:21 GMT

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

Xuan Gong updated YARN-5231:
----------------------------
    Affects Version/s: 2.9.0

> obtaining app logs for last 'n' bytes using CLI gives 'java.io.IOException'
> ---------------------------------------------------------------------------
>
>                 Key: YARN-5231
>                 URL: https://issues.apache.org/jira/browse/YARN-5231
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.9.0
>            Reporter: Sumana Sathish
>            Assignee: Xuan Gong
>            Priority: Blocker
>
> Obtaining logs for last 'n' bytes gives the following exception
> {code}
> yarn logs -applicationId application_1465421211793_0004 -containerId container_e07_1465421211793_0004_01_000001
-logFiles syslog -size -1000
> Exception in thread "main" java.io.IOException: The bytes were skipped are different
from the caller requested
> 	at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.readContainerLogsForALogType(AggregatedLogFormat.java:838)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAContainerLogsForALogType(LogCLIHelpers.java:300)
> 	at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAContainersLogsForALogTypeWithoutNodeId(LogCLIHelpers.java:224)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.printContainerLogsForFinishedApplicationWithoutNodeId(LogsCLI.java:447)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchContainerLogs(LogsCLI.java:782)
> 	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:228)
> 	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