From a2391dad686907d2ecd43d067408f75d9806e714 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Wed, 2 May 2012 22:48:09 +0000 Subject: [PATCH] Merge -r 1333235:1333236 from trunk to branch. FIXES: HADOOP-3336 git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1333237 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 7 +------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ccc6fe40657..3b2c2e42f7c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -459,6 +459,9 @@ Release 2.0.0 - UNRELEASED HDFS-3286. When the threshold value for balancer is zero, unexpected output is displayed. (Ashish Singhi via umamahesh) + HDFS-3336. hdfs launcher script will be better off not special casing + namenode command with regards to hadoop.security.logger (rvs via tucu) + BREAKDOWN OF HDFS-1623 SUBTASKS HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index fb409f3170c..40b370407b3 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs @@ -118,12 +118,7 @@ if $cygwin; then fi export CLASSPATH=$CLASSPATH -#turn security logger on the namenode -if [ $COMMAND = "namenode" ]; then - HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}" -else - HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,NullAppender}" -fi +HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,NullAppender}" # Check to see if we should start a secure datanode if [ "$starting_secure_dn" = "true" ]; then