MAPREDUCE-3263. Fixed the MAPREDUCE-3028 commit which broke MR1. Contributed by Hitesh Shah.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188997 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-26 02:12:50 +00:00
parent 029d86e1aa
commit 7dcef364a9
2 changed files with 5 additions and 2 deletions

View File

@ -1767,6 +1767,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.
(acmurthy)
MAPREDUCE-3263. Fixed the MAPREDUCE-3028 commit which broke MR1. (Hitesh
Shah via acmurthy)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -130,8 +130,8 @@ private String getNotificationUrlTemplate() {
protected JobConf createJobConf() {
JobConf conf = super.createJobConf();
conf.setJobEndNotificationURI(getNotificationUrlTemplate());
conf.setInt(JobContext.END_NOTIFICATION_RETRIES, 3);
conf.setInt(JobContext.END_NOTIFICATION_RETRIE_INTERVAL, 200);
conf.setInt(JobContext.MR_JOB_END_RETRY_ATTEMPTS, 3);
conf.setInt(JobContext.MR_JOB_END_RETRY_INTERVAL, 200);
return conf;
}