Browse Source

commit 5f572dc66defa3deb8d2d1d81975ceb6ace7ea68
Author: Devaraj Das <ddas@yahoo-inc.com>
Date: Tue May 18 09:52:38 2010 -0700

HDFS:1150 from https://issues.apache.org/jira/secure/attachment/12444811/hdfs-1150-bugfix-1.patch

+++ b/YAHOO-CHANGES.txt
+ HDFS-1150. Bugfix in the hadoop shell script. (ddas)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077472 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 years ago
parent
commit
04d5374979
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/hadoop

+ 1 - 1
bin/hadoop

@@ -307,7 +307,7 @@ HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.policy.file=$HADOOP_POLICYFILE"
 if [ "$COMMAND" = "datanode" ]; then
   if [[ $EUID -eq 0 ]]; then
     if [ "$HADOOP_SECURE_DN_USER" = "" ]; then
-      HADOOP_SECURE_DN_PID="hdfs"
+      HADOOP_SECURE_DN_USER="hdfs"
     fi
 
     if [ "$HADOOP_PID_DIR" = "" ]; then