hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4283) Display tail of aggregated logs by default
Date Fri, 13 Jul 2012 20:20:34 GMT

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

Robert Joseph Evans commented on MAPREDUCE-4283:
------------------------------------------------

Jason,

There are some issues with how you seek in the file.

InputStream.available is only supposed to return the value that is left and will not block.
 It looks like you are using it to try and read to the end of the BoundedInputStream, but
I am not sure that it is guaranteed to work that way.
                
> Display tail of aggregated logs by default
> ------------------------------------------
>
>                 Key: MAPREDUCE-4283
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4283
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobhistoryserver, mrv2
>    Affects Versions: 0.23.3, 2.0.1-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: MAPREDUCE-4283.patch
>
>
> Similar to the manner in which the nodemanager webUI displays container logs, it would
be very useful if the historyserver showed the trailing 4K or so of the aggregated logs with
a link to see the full log.
> When debugging issues the relevant errors are usually at the end of the log, so showing
just the last few K can enable quick diagnosis without waiting for what can be many megabytes
of log data to download. 

--
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