diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 3e43130ad00..1b7be048c7b 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -498,6 +498,8 @@ Release 0.23.0 - Unreleased HADOOP-7749. Add a NetUtils createSocketAddr call which provides more help in exception messages. (todd) + HADOOP-7762. Common side of MR-2736. (eli) + OPTIMIZATIONS HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop b/hadoop-common-project/hadoop-common/src/main/bin/hadoop index e17f019d0e7..f3cfed346be 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop @@ -63,22 +63,6 @@ case $COMMAND in fi ;; - #mapred commands - mradmin|jobtracker|tasktracker|pipes|job|queue) - echo "DEPRECATED: Use of this script to execute mapred command is deprecated." - echo "Instead use the mapred command for it." - echo "" - #try to locate mapred and if present, delegate to it. - if [ -f "${HADOOP_MAPRED_HOME}"/bin/mapred ]; then - exec "${HADOOP_MAPRED_HOME}"/bin/mapred $* - elif [ -f "${HADOOP_PREFIX}"/bin/mapred ]; then - exec "${HADOOP_PREFIX}"/bin/mapred $* - else - echo "MAPRED not found." - exit - fi - ;; - classpath) if $cygwin; then CLASSPATH=`cygpath -p -w "$CLASSPATH"` diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh index 0803fe268a3..4cd10a3250f 100644 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh @@ -248,24 +248,8 @@ if $cygwin; then HADOOP_HDFS_HOME=`cygpath -w "$HADOOP_HDFS_HOME"` fi -# set mapred home if mapred is present -if [ "$HADOOP_MAPRED_HOME" = "" ]; then - if [ -d "${HADOOP_PREFIX}/share/hadoop/mapreduce" ]; then - HADOOP_MAPRED_HOME=$HADOOP_PREFIX - fi -fi - -if [ -d "$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/webapps" ]; then - CLASSPATH=${CLASSPATH}:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/webapps -fi - -if [ -d "$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib" ]; then - CLASSPATH=${CLASSPATH}:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib'/*' -fi - # cygwin path translation if $cygwin; then - HADOOP_MAPRED_HOME=`cygpath -w "$HADOOP_MAPRED_HOME"` TOOL_PATH=`cygpath -p -w "$TOOL_PATH"` fi diff --git a/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh b/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh index 646c9b78020..57fb3d6c744 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh @@ -29,8 +29,3 @@ bin=`cd "$bin"; pwd` if [ -f "${HADOOP_HDFS_HOME}"/bin/start-dfs.sh ]; then "${HADOOP_HDFS_HOME}"/bin/start-dfs.sh --config $HADOOP_CONF_DIR fi - -# start mapred daemons if mapred is present -if [ -f "${HADOOP_MAPRED_HOME}"/bin/start-mapred.sh ]; then - "${HADOOP_MAPRED_HOME}"/bin/start-mapred.sh --config $HADOOP_CONF_DIR -fi diff --git a/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh b/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh index 9adb5a4e031..a2b5ddb716a 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh @@ -29,9 +29,3 @@ bin=`cd "$bin"; pwd` if [ -f "${HADOOP_HDFS_HOME}"/bin/stop-dfs.sh ]; then "${HADOOP_HDFS_HOME}"/bin/stop-dfs.sh --config $HADOOP_CONF_DIR fi - -# stop mapred daemons if mapred is present -if [ -f "${HADOOP_MAPRED_HOME}"/bin/stop-mapred.sh ]; then - "${HADOOP_MAPRED_HOME}"/bin/stop-mapred.sh --config $HADOOP_CONF_DIR -fi - diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties index f2826b69a6f..da57735d6a7 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties +++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties @@ -51,7 +51,6 @@ #*.sink.ganglia.tagsForPrefix.dfs= #*.sink.ganglia.tagsForPrefix.rpc= #*.sink.ganglia.tagsForPrefix.mapred= -#*.sink.ganglia.tagsForPrefix.fairscheduler= #namenode.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649