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-205) yarn logs throws nullpointerexception for running application
Date Thu, 27 Dec 2012 22:58:12 GMT

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

Xuan Gong commented on YARN-205:
--------------------------------

Could you please provide me details ? I can not reproduce this error on my local environment.

                
> 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

Mime
View raw message