Repository: ambari
Updated Branches:
  refs/heads/trunk cbcadd2c3 -> 3afdc672a


AMBARI-11671. Remove SetGoalState when stopping Accumulo components (Billie 
Rinaldi via smohanty)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/56876e2a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/56876e2a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/56876e2a

Branch: refs/heads/trunk
Commit: 56876e2a9f7df59c15469183ee6f03a30023d470
Parents: cbcadd2
Author: Sumit Mohanty <smoha...@hortonworks.com>
Authored: Thu Jun 4 19:46:11 2015 -0700
Committer: Sumit Mohanty <smoha...@hortonworks.com>
Committed: Thu Jun 4 19:46:11 2015 -0700

----------------------------------------------------------------------
 .../ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/56876e2a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
 
b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
index f1385e0..0c35c98 100644
--- 
a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
+++ 
b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
@@ -60,11 +60,6 @@ def accumulo_service( name,
                   timeout=30,
                   user=params.accumulo_user
           )
-        elif name != 'monitor':
-          Execute(format("{daemon_script} 
org.apache.accumulo.master.state.SetGoalState SAFE_MODE"),
-                  not_if=pid_exists,
-                  user=params.accumulo_user
-                  )
       except:
         pass
 

Reply via email to