From 803828b996f38f63ee1a38572dbcdae6bd713da3 Mon Sep 17 00:00:00 2001 From: Siddharth Seth Date: Wed, 3 Oct 2012 21:24:55 +0000 Subject: [PATCH] MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1393775 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ hadoop-mapreduce-project/bin/mapred | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 2125505bb5..2a7e543e74 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -142,6 +142,9 @@ Release 2.0.3-alpha - Unreleased INCOMPATIBLE CHANGES + MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer + supported. (Devaraj K via sseth) + NEW FEATURES IMPROVEMENTS diff --git a/hadoop-mapreduce-project/bin/mapred b/hadoop-mapreduce-project/bin/mapred index 930885cdf1..c446414485 100755 --- a/hadoop-mapreduce-project/bin/mapred +++ b/hadoop-mapreduce-project/bin/mapred @@ -35,7 +35,6 @@ function print_usage(){ echo " queue get information regarding JobQueues" echo " classpath prints the class path needed for running" echo " mapreduce subcommands" - echo " groups get the groups which users belong to" echo " historyserver run job history servers as a standalone daemon" echo " distcp copy file or directories recursively" echo " archive -archiveName NAME -p * create a hadoop archive" @@ -63,9 +62,6 @@ elif [ "$COMMAND" = "sampler" ] ; then HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS" elif [ "$COMMAND" = "classpath" ] ; then echo -n -elif [ "$COMMAND" = "groups" ] ; then - CLASS=org.apache.hadoop.mapred.tools.GetGroups - HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS" elif [ "$COMMAND" = "historyserver" ] ; then CLASS=org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer HADOOP_OPTS="$HADOOP_OPTS -Dmapred.jobsummary.logger=${HADOOP_JHS_LOGGER:-INFO,console} $HADOOP_JOB_HISTORYSERVER_OPTS" @@ -74,7 +70,8 @@ elif [ "$COMMAND" = "historyserver" ] ; then fi elif [ "$COMMAND" = "mradmin" ] \ || [ "$COMMAND" = "jobtracker" ] \ - || [ "$COMMAND" = "tasktracker" ] ; then + || [ "$COMMAND" = "tasktracker" ] \ + || [ "$COMMAND" = "groups" ] ; then echo "Sorry, the $COMMAND command is no longer supported." echo "You may find similar functionality with the \"yarn\" shell command." print_usage