瀏覽代碼

HADOOP-683. Remove a script dependency on bash, so it works with dash, the new default for /bin/sh on Ubuntu. Contributed by James Todd.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@472628 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 年之前
父節點
當前提交
a33134ef49
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 5 1
      CHANGES.txt
  2. 1 1
      bin/hadoop-daemon.sh

+ 5 - 1
CHANGES.txt

@@ -16,9 +16,13 @@ Trunk (unreleased changes)
  4. HADOOP-645.  Fix a bug in contrib/streaming when -reducer is NONE.
     (Dhruba Borthakur via cutting) 
 
- 5. HADOOP-687. Fix a classpath bug in bin/hadoop that blocked the
+ 5. HADOOP-687.  Fix a classpath bug in bin/hadoop that blocked the
     servers from starting. (Sameer Paranjpye via omalley)
 
+ 6. HADOOP-683.  Remove a script dependency on bash, so it works with
+    dash, the new default for /bin/sh on Ubuntu.  (James Todd via cutting)
+
+
 Release 0.8.0 - 2006-11-03
 
  1. HADOOP-477.  Extend contrib/streaming to scan the PATH environment

+ 1 - 1
bin/hadoop-daemon.sh

@@ -73,7 +73,7 @@ log=$HADOOP_LOG_DIR/hadoop-$HADOOP_IDENT_STRING-$command-`hostname`.out
 pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid
 
 # Set default scheduling priority
-if [ "$HADOOP_NICENESS" == "" ]; then
+if [ "$HADOOP_NICENESS" = "" ]; then
     export HADOOP_NICENESS=0
 fi