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/trunk Commit: 51de7c55d2b3107b79953f401fc8c9530bd0eea0 Parents: 7640bee Author: Vladislav Pernin <[email protected]> Authored: Wed Aug 28 09:51:19 2013 -0700 Committer: Jun Rao <[email protected]> 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
