From 84738bcd395fb214f62bd7d64b7c491d54220710 Mon Sep 17 00:00:00 2001 From: Harsh J Date: Mon, 19 Mar 2012 19:55:02 +0000 Subject: [PATCH] svn merge -c 1302598. Merge HADOOP-8183 into branch-0.23 from trunk. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1302626 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ .../main/java/org/apache/hadoop/util/GenericOptionsParser.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 18edda28802..a1c1f45c213 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -91,6 +91,8 @@ Release 0.23.3 - UNRELEASED HADOOP-6941. Adds support for building Hadoop with IBM's JDK (Stephen Watt, Eli and ddas) + HADOOP-8183. Stop using "mapred.used.genericoptions.parser" (harsh) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java index 5189e8e0535..71c21082669 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java @@ -305,7 +305,7 @@ public class GenericOptionsParser { } } } - conf.setBoolean("mapred.used.genericoptionsparser", true); + conf.setBoolean("mapreduce.client.genericoptionsparser.used", true); // tokensFile if(line.hasOption("tokenCacheFile")) {