From b31d9d9d86b596cbbf86d5831538003fd383c92c Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Wed, 11 Apr 2012 23:57:12 +0000 Subject: [PATCH] HADOOP-8270. hadoop-daemon.sh stop action should return 0 for an already stopped service. Contributed by Roman Shaposhnik git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1325069 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../hadoop-common/src/main/bin/hadoop-daemon.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index bad03fc0cb..383bc284a7 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -346,6 +346,9 @@ Release 2.0.0 - UNRELEASED HADOOP-8264. Remove irritating double double quotes in front of hostname (Bernd Fondermann via bobby) + HADOOP-8270. hadoop-daemon.sh stop action should return 0 for an + already stopped service. (Roman Shaposhnik via eli) + BREAKDOWN OF HADOOP-7454 SUBTASKS HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh) diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh index 42d32cf9a0..1a4d6446fb 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh @@ -167,11 +167,9 @@ case $startStop in kill `cat $pid` else echo no $command to stop - exit 1 fi else echo no $command to stop - exit 1 fi ;;