Author: phunt
Date: Mon Apr 12 06:30:46 2010
New Revision: 933110

URL: http://svn.apache.org/viewvc?rev=933110&view=rev
Log:
ZOOKEEPER-722. zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

Modified:
    hadoop/zookeeper/branches/branch-3.3/CHANGES.txt
    hadoop/zookeeper/branches/branch-3.3/bin/zkServer.sh

Modified: hadoop/zookeeper/branches/branch-3.3/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.3/CHANGES.txt?rev=933110&r1=933109&r2=933110&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.3/CHANGES.txt (original)
+++ hadoop/zookeeper/branches/branch-3.3/CHANGES.txt Mon Apr 12 06:30:46 2010
@@ -10,6 +10,9 @@ BUGFIXES:
   zookeeper-{version}-src.jar to publish sources in the Maven repository
   (paolo via phunt)
 
+  ZOOKEEPER-722. zkServer.sh uses sh's builtin echo on BSD, behaves
+  incorrectly. (Ivan Kelly via phunt)
+
 Release 3.3.0 - 2010-03-24
 
 Non-backward compatible changes:

Modified: hadoop/zookeeper/branches/branch-3.3/bin/zkServer.sh
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.3/bin/zkServer.sh?rev=933110&r1=933109&r2=933110&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.3/bin/zkServer.sh (original)
+++ hadoop/zookeeper/branches/branch-3.3/bin/zkServer.sh Mon Apr 12 06:30:46 
2010
@@ -77,7 +77,7 @@ start)
     echo  "Starting zookeeper ... "
     java  "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" 
"-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
     -cp "$CLASSPATH" $JVMFLAGS $ZOOMAIN "$ZOOCFG" &
-    echo -n $! > "$ZOOPIDFILE"
+    /bin/echo -n $! > "$ZOOPIDFILE"
     echo STARTED
     ;;
 stop)


Reply via email to