You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2011/04/25 19:45:03 UTC

[jira] [Commented] (MAPREDUCE-2451) Log the reason string of healthcheck script

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

Thomas Graves commented on MAPREDUCE-2451:
------------------------------------------

The jobtracker could log the detailed reason string in blacklistTracker when it logs the task tracker change to blacklisted/graylisted state. Currently it logs the shade (black or gray) and the ReasonForBlackListing. The reason string is already passed into the function so we can just add it to the log message calls.

log message now: 
 INFO org.apache.hadoop.mapred.JobTracker: Adding new blacklisted tracker : XXX Reason for blacklisting is : NODE_UNHEALTHY

Would become something like: 
 INFO org.apache.hadoop.mapred.JobTracker: Adding new blacklisted tracker : XXX Reason for blacklisting is : NODE_UNHEALTHY Reason details : Error string returned from healthChecker.script

> Log the reason string of healthcheck script
> -------------------------------------------
>
>                 Key: MAPREDUCE-2451
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2451
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.20.204.0
>            Reporter: Thomas Graves
>            Priority: Trivial
>             Fix For: 0.23.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The information on why a specific TaskTracker got blacklisted is not stored anywhere. The jobtracker web ui will show the detailed reason string until the TT gets unblacklisted.  After that it is lost.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira