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 "Thomas Graves (JIRA)" <ji...@apache.org> on 2013/01/02 17:40:12 UTC
[jira] [Resolved] (YARN-205) yarn logs throws nullpointerexception
for running application
[ https://issues.apache.org/jira/browse/YARN-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves resolved YARN-205.
--------------------------------
Resolution: Cannot Reproduce
> yarn logs throws nullpointerexception for running application
> -------------------------------------------------------------
>
> Key: YARN-205
> URL: https://issues.apache.org/jira/browse/YARN-205
> Project: Hadoop YARN
> Issue Type: Bug
> Components: client
> Affects Versions: 0.23.4
> Reporter: Thomas Graves
>
> I started an application and tried to look at the task logs for the takss that had finished via yarn logs. Unfortunately it throws a null pointer exception until the job finished:
> yarn logs -appOwner tgraves --applicationId application_1352316570518_0002
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:573)
> at java.io.DataInputStream.readFully(DataInputStream.java:178)
> at java.io.DataInputStream.readLong(DataInputStream.java:399)
> at org.apache.hadoop.io.file.tfile.BCFile$Reader.<init>(BCFile.java:623)
> at org.apache.hadoop.io.file.tfile.TFile$Reader.<init>(TFile.java:803)
> at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.<init>(AggregatedLogFormat.java:293)
> at org.apache.hadoop.yarn.logaggregation.LogDumper.dumpAllContainersLogs(LogDumper.java:209)
> at org.apache.hadoop.yarn.logaggregation.LogDumper.run(LogDumper.java:109)
> at org.apache.hadoop.yarn.logaggregation.LogDumper.main(LogDumper.java:242)
--
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