zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1185989 - in /zookeeper/branches/branch-3.3: CHANGES.txt bin/zkServer.sh
Date Wed, 19 Oct 2011 06:41:43 GMT
Author: mahadev
Date: Wed Oct 19 06:41:43 2011
New Revision: 1185989

URL: http://svn.apache.org/viewvc?rev=1185989&view=rev
Log:
ZOOKEEPER-1212. zkServer.sh stop action is not conformat with LSB para 20.2 Init Script Actions
(Roman Shaposhnik via mahadev)

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

Modified: zookeeper/branches/branch-3.3/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/CHANGES.txt?rev=1185989&r1=1185988&r2=1185989&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.3/CHANGES.txt Wed Oct 19 06:41:43 2011
@@ -36,6 +36,9 @@ BUGFIXES:
   ZOOKEEPER-1049. Session expire/close flooding renders heartbeats to
   delay significantly (Chang Song via phunt)
 
+  ZOOKEEPER-1212. zkServer.sh stop action is not conformat with LSB para 
+  20.2 Init Script Actions (Roman Shaposhnik via mahadev)
+
 Release 3.3.3 - 2011-02-23
 Backward compatible changes:
 

Modified: zookeeper/branches/branch-3.3/bin/zkServer.sh
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/bin/zkServer.sh?rev=1185989&r1=1185988&r2=1185989&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/bin/zkServer.sh (original)
+++ zookeeper/branches/branch-3.3/bin/zkServer.sh Wed Oct 19 06:41:43 2011
@@ -84,8 +84,7 @@ stop)
     echo "Stopping zookeeper ... "
     if [ ! -f "$ZOOPIDFILE" ]
     then
-    echo "error: could not find file $ZOOPIDFILE"
-    exit 1
+    echo "no zookeeper to stop (could not find file $ZOOPIDFILE)"
     else
     $KILL -9 $(cat "$ZOOPIDFILE")
     rm "$ZOOPIDFILE"



Mime
View raw message