hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r1211431 - in /hadoop/common/branches/branch-1.0: CHANGES.txt src/packages/hadoop-setup-conf.sh
Date Wed, 07 Dec 2011 13:34:29 GMT
Author: gkesavan
Date: Wed Dec  7 13:34:29 2011
New Revision: 1211431

URL: http://svn.apache.org/viewvc?rev=1211431&view=rev
Log:
HADOOP-7855. Fix to remove datanode dir creation and attribute setup from hadoop-conf-setup.sh

Modified:
    hadoop/common/branches/branch-1.0/CHANGES.txt
    hadoop/common/branches/branch-1.0/src/packages/hadoop-setup-conf.sh

Modified: hadoop/common/branches/branch-1.0/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/CHANGES.txt?rev=1211431&r1=1211430&r2=1211431&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1.0/CHANGES.txt Wed Dec  7 13:34:29 2011
@@ -147,6 +147,10 @@ Release 1.0.0 - 2011.11.27
 
     MAPREDUCE-3480. Disable TestJvmReuse in branch-1. (jitendra)
 
+    HADOOP-7855. fix to remove datanode dir creation and attribute 
+    setup from hadoop-conf-setup.sh (gkesavan)
+
+
 Release 0.20.205.0 - 2011.10.06
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1.0/src/packages/hadoop-setup-conf.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/src/packages/hadoop-setup-conf.sh?rev=1211431&r1=1211430&r2=1211431&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/src/packages/hadoop-setup-conf.sh (original)
+++ hadoop/common/branches/branch-1.0/src/packages/hadoop-setup-conf.sh Wed Dec  7 13:34:29
2011
@@ -557,7 +557,6 @@ if [ "${AUTOSETUP}" == "1" -o "${AUTOSET
     rm -rf ${HADOOP_NN_DIR}
   fi
   DATANODE_DIR=`echo ${HADOOP_DN_DIR} | sed -e 's/,/ /g'`
-  mkdir -p ${DATANODE_DIR}
   MAPRED_DIR=`echo ${HADOOP_MAPRED_DIR} | sed -e 's/,/ /g'`
   mkdir -p ${MAPRED_DIR}
   mkdir -p ${HADOOP_CONF_DIR}
@@ -574,8 +573,6 @@ if [ "${AUTOSETUP}" == "1" -o "${AUTOSET
 
   mkdir -p ${HADOOP_PID_DIR}
   chown ${HADOOP_HDFS_USER}:${HADOOP_GROUP} ${HDFS_DIR}
-  chown ${HADOOP_HDFS_USER}:${HADOOP_GROUP} ${DATANODE_DIR}
-  chmod 700 -R ${DATANODE_DIR}
   chown ${HADOOP_MR_USER}:${HADOOP_GROUP} ${MAPRED_DIR}
   chown ${HADOOP_HDFS_USER}:${HADOOP_GROUP} ${HADOOP_LOG_DIR}
   chmod 775 ${HADOOP_LOG_DIR}



Mime
View raw message