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
This commit is contained in:
parent
247a5ee2f9
commit
803828b996
@ -142,6 +142,9 @@ Release 2.0.3-alpha - Unreleased
|
|||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
||||||
|
MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer
|
||||||
|
supported. (Devaraj K via sseth)
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
@ -35,7 +35,6 @@ function print_usage(){
|
|||||||
echo " queue get information regarding JobQueues"
|
echo " queue get information regarding JobQueues"
|
||||||
echo " classpath prints the class path needed for running"
|
echo " classpath prints the class path needed for running"
|
||||||
echo " mapreduce subcommands"
|
echo " mapreduce subcommands"
|
||||||
echo " groups get the groups which users belong to"
|
|
||||||
echo " historyserver run job history servers as a standalone daemon"
|
echo " historyserver run job history servers as a standalone daemon"
|
||||||
echo " distcp <srcurl> <desturl> copy file or directories recursively"
|
echo " distcp <srcurl> <desturl> copy file or directories recursively"
|
||||||
echo " archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop archive"
|
echo " archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop archive"
|
||||||
@ -63,9 +62,6 @@ elif [ "$COMMAND" = "sampler" ] ; then
|
|||||||
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
|
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
|
||||||
elif [ "$COMMAND" = "classpath" ] ; then
|
elif [ "$COMMAND" = "classpath" ] ; then
|
||||||
echo -n
|
echo -n
|
||||||
elif [ "$COMMAND" = "groups" ] ; then
|
|
||||||
CLASS=org.apache.hadoop.mapred.tools.GetGroups
|
|
||||||
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
|
|
||||||
elif [ "$COMMAND" = "historyserver" ] ; then
|
elif [ "$COMMAND" = "historyserver" ] ; then
|
||||||
CLASS=org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer
|
CLASS=org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer
|
||||||
HADOOP_OPTS="$HADOOP_OPTS -Dmapred.jobsummary.logger=${HADOOP_JHS_LOGGER:-INFO,console} $HADOOP_JOB_HISTORYSERVER_OPTS"
|
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
|
fi
|
||||||
elif [ "$COMMAND" = "mradmin" ] \
|
elif [ "$COMMAND" = "mradmin" ] \
|
||||||
|| [ "$COMMAND" = "jobtracker" ] \
|
|| [ "$COMMAND" = "jobtracker" ] \
|
||||||
|| [ "$COMMAND" = "tasktracker" ] ; then
|
|| [ "$COMMAND" = "tasktracker" ] \
|
||||||
|
|| [ "$COMMAND" = "groups" ] ; then
|
||||||
echo "Sorry, the $COMMAND command is no longer supported."
|
echo "Sorry, the $COMMAND command is no longer supported."
|
||||||
echo "You may find similar functionality with the \"yarn\" shell command."
|
echo "You may find similar functionality with the \"yarn\" shell command."
|
||||||
print_usage
|
print_usage
|
||||||
|
Loading…
Reference in New Issue
Block a user