You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ha...@apache.org on 2012/09/29 13:02:09 UTC
svn commit: r1391781 - in /hadoop/common/branches/branch-1: CHANGES.txt
bin/hadoop
Author: harsh
Date: Sat Sep 29 11:02:09 2012
New Revision: 1391781
URL: http://svn.apache.org/viewvc?rev=1391781&view=rev
Log:
HADOOP-8386. hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu). Contributed by Christopher Berner and Andy Isaacson. (harsh)
Modified:
hadoop/common/branches/branch-1/CHANGES.txt
hadoop/common/branches/branch-1/bin/hadoop
Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1391781&r1=1391780&r2=1391781&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Sat Sep 29 11:02:09 2012
@@ -226,6 +226,10 @@ Release 1.2.0 - unreleased
HADOOP-8791. Fix rm command documentation to indicte it deletes
files and not directories. (Jing Zhao via suresh)
+ HADOOP-8386. hadoop script doesn't work if 'cd' prints to stdout
+ (default behavior in Ubuntu).
+ (Christopher Berner and Andy Isaacson via harsh)
+
Release 1.1.0 - unreleased
INCOMPATIBLE CHANGES
Modified: hadoop/common/branches/branch-1/bin/hadoop
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/bin/hadoop?rev=1391781&r1=1391780&r2=1391781&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/bin/hadoop (original)
+++ hadoop/common/branches/branch-1/bin/hadoop Sat Sep 29 11:02:09 2012
@@ -48,7 +48,7 @@
#
bin=`dirname "$0"`
-bin=`cd "$bin"; pwd`
+bin=`cd "$bin" > /dev/null; pwd`
if [ -e "$bin"/../libexec/hadoop-config.sh ]; then
. "$bin"/../libexec/hadoop-config.sh