Browse Source

HADOOP-4606. Fix cygpath error if the log directory does not exist.
(szetszwo via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@713881 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 16 năm trước cách đây
mục cha
commit
119192b9d2
2 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 3 0
      CHANGES.txt
  2. 2 2
      bin/hadoop

+ 3 - 0
CHANGES.txt

@@ -155,6 +155,9 @@ Trunk (unreleased changes)
     local.cache.size in the config and the source. (Jeff Hammerbacher via
     cdouglas)
 
+    HADOOP-4606. Fix cygpath error if the log directory does not exist.
+    (szetszwo via omalley)
+
 Release 0.19.0 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 2 - 2
bin/hadoop

@@ -233,8 +233,8 @@ fi
 # cygwin path translation
 if $cygwin; then
   CLASSPATH=`cygpath -p -w "$CLASSPATH"`
-  HADOOP_HOME=`cygpath -d "$HADOOP_HOME"`
-  HADOOP_LOG_DIR=`cygpath -d "$HADOOP_LOG_DIR"`
+  HADOOP_HOME=`cygpath -w "$HADOOP_HOME"`
+  HADOOP_LOG_DIR=`cygpath -w "$HADOOP_LOG_DIR"`
   TOOL_PATH=`cygpath -p -w "$TOOL_PATH"`
 fi
 # setup 'java.library.path' for native-hadoop code if necessary