hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3744) Unable to retrieve application logs via "yarn logs" or "mapred job -logs"
Date Thu, 02 Feb 2012 01:33:53 GMT

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

Hadoop QA commented on MAPREDUCE-3744:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12512874/MAPREDUCE-3744.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 2 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1741//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1741//console

This message is automatically generated.
                
> Unable to retrieve application logs via "yarn logs" or "mapred job -logs"
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3744
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3744
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Blocker
>         Attachments: MAPREDUCE-3744.patch, MAPREDUCE-3744.patch
>
>
> Trying to retrieve application logs via the "yarn logs" shell command results in an error
similar to this:
> Exception in thread "main" java.io.FileNotFoundException: File /tmp/logs/application_1327694122989_0001
does not exist.
> 	at org.apache.hadoop.fs.Hdfs$DirListingIterator.<init>(Hdfs.java:226)
> 	at org.apache.hadoop.fs.Hdfs$DirListingIterator.<init>(Hdfs.java:217)
> 	at org.apache.hadoop.fs.Hdfs$2.<init>(Hdfs.java:192)
> 	at org.apache.hadoop.fs.Hdfs.listStatusIterator(Hdfs.java:192)
> 	at org.apache.hadoop.fs.FileContext$20.next(FileContext.java:1371)
> 	at org.apache.hadoop.fs.FileContext$20.next(FileContext.java:1)
> 	at org.apache.hadoop.fs.FileContext$FSLinkResolver.resolve(FileContext.java:2319)
> 	at org.apache.hadoop.fs.FileContext.listStatus(FileContext.java:1373)
> 	at org.apache.hadoop.yarn.logaggregation.LogDumper.dumpAllContainersLogs(LogDumper.java:191)
> 	at org.apache.hadoop.yarn.logaggregation.LogDumper.run(LogDumper.java:107)
> 	at org.apache.hadoop.yarn.logaggregation.LogDumper.main(LogDumper.java:226)
> Trying to grab the logs via the "mapred jobs -logs" command results in this error:
> 2012-01-27 14:05:52,040 INFO  mapred.ClientServiceDelegate (ClientServiceDelegate.java:getProxy(246))
- Application state is completed. FinalApplicationStatus=SUCCEEDED. Redirecting to job history
server
> 2012-01-27 14:05:52,041 WARN  mapred.ClientServiceDelegate (ClientServiceDelegate.java:checkAndGetHSProxy(257))
- Job History Server is not configured.
> Unable to get log information for job: job_1327694122989_0001
> Even though the historyserver process is running.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message