hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-205) yarn logs throws nullpointerexception for running application
Date Wed, 02 Jan 2013 16:08:13 GMT

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

Thomas Graves commented on YARN-205:
------------------------------------

This was happening on any application I just started and was running. I was just running wordcount
at the time. What version are you using?  I haven't tried it on trunk or branch-2. 
                
> 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