[
https://issues.apache.org/jira/browse/MAPREDUCE-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated MAPREDUCE-4794:
----------------------------------
Attachment: MAPREDUCE-4794.patch
This has sat for a bit, so posting a quick patch. Hope that's OK with you,
Jerry.
I manually tested that without this patch the DefaultSpeculator always logs a
stacktrace to stdout and an error to the syslog, and with the patch it doesn't
log anything on normal shutdown.
> DefaultSpeculator generates error messages on normal shutdown
> -------------------------------------------------------------
>
> Key: MAPREDUCE-4794
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4794
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: applicationmaster
> Affects Versions: 0.23.3, 2.0.1-alpha
> Reporter: Jason Lowe
> Attachments: MAPREDUCE-4794.patch
>
>
> DefaultSpeculator can log the following error message on a normal shutdown of
> the ApplicationMaster:
> {noformat}
> 2012-11-13 01:35:31,841 ERROR [DefaultSpeculator background processing]
> org.apache.hadoop.mapreduce.v2.app.speculate.DefaultSpeculator: Background
> thread returning, interrupted : java.lang.InterruptedException
> {noformat}
> and in addition for some reason it logs the corresponding backtrace to stdout.
> Like the errors fixed in MAPREDUCE-4741, this error message in the syslog and
> backtrace on stdout can be confusing to users as to whether the job really
> succeeded.
--
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