From 449554f782808edd5931dbaab72e76876c8408ef Mon Sep 17 00:00:00 2001 From: Siddharth Seth Date: Thu, 1 Dec 2011 21:00:28 +0000 Subject: [PATCH] MAPREDUCE-3169 amendment. Deprecate MiniMRCluster. Contributed by Ahmed Radwan) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1209235 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 5 ++++- .../test/java/org/apache/hadoop/mapred/MiniMRCluster.java | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 5b1999ec90..2389fda741 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -35,7 +35,7 @@ Trunk (unreleased changes) uri with no authority. (John George via jitendra) MAPREDUCE-3169. Create a new MiniMRCluster equivalent which only provides - client APIs cross MR1 and MR2. (Ahmed via tucu) + client APIs cross MR1 and MR2 (Ahmed via tucu) MAPREDUCE-3415. improve MiniMRYarnCluster & DistributedShell JAR resolution. (tucu) @@ -129,6 +129,9 @@ Release 0.23.1 - Unreleased MAPREDUCE-3448. TestCombineOutputCollector javac unchecked warning on mocked generics (Jonathan Eagles via mahadev) + MAPREDUCE-3169 amendment. Deprecate MiniMRCluster. (Ahmed Radwan via + sseth) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRCluster.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRCluster.java index a73b959ec3..627bae3c1e 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRCluster.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRCluster.java @@ -34,7 +34,11 @@ * Due to major differences between MR1 and MR2, a number of methods are either * unimplemented/unsupported or were re-implemented to provide wrappers around * MR2 functionality. + * + * @deprecated Use {@link org.apache.hadoop.mapred.MiniMRClientClusterFactory} + * instead */ +@Deprecated public class MiniMRCluster { private static final Log LOG = LogFactory.getLog(MiniMRCluster.class);