kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject [1/2] git commit: kafka-1031; Little modification to the stop script to be able to kill the proper process; patched by Vladislav Pernin; reviewed by Jun Rao
Date Wed, 28 Aug 2013 16:49:09 GMT
Updated Branches:
  refs/heads/0.8 39fc578d5 -> ea54700d5


kafka-1031; Little modification to the stop script to be able to kill the proper process;
patched by Vladislav Pernin; reviewed by Jun Rao


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/51de7c55
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/51de7c55
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/51de7c55

Branch: refs/heads/0.8
Commit: 51de7c55d2b3107b79953f401fc8c9530bd0eea0
Parents: 7640bee
Author: Vladislav Pernin <vladislav.pernin@gmail.com>
Authored: Wed Aug 28 09:51:19 2013 -0700
Committer: Jun Rao <junrao@gmail.com>
Committed: Wed Aug 28 09:51:19 2013 -0700

----------------------------------------------------------------------
 bin/kafka-server-stop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/51de7c55/bin/kafka-server-stop.sh
----------------------------------------------------------------------
diff --git a/bin/kafka-server-stop.sh b/bin/kafka-server-stop.sh
index 516c6ad..35a26a6 100755
--- a/bin/kafka-server-stop.sh
+++ b/bin/kafka-server-stop.sh
@@ -13,4 +13,4 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-ps ax | grep -i 'kafka.Kafka' | grep -v grep | awk '{print $1}' | xargs kill -SIGTERM
+ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}' | xargs kill
-SIGINT


Mime
View raw message