You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2016/03/11 06:47:23 UTC

[15/21] ambari git commit: AMBARI-15341: Use pxf-service restart method when Restart action is called via Ambari (bhuvnesh2703 via mithmatt)

AMBARI-15341: Use pxf-service restart method when Restart action is called via Ambari (bhuvnesh2703 via mithmatt)


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

Branch: refs/heads/AMBARI-13364
Commit: e1762a4281bbd78228c0ac162d8c19932de955e5
Parents: 3f3fdbd
Author: Matt <mm...@pivotal.io>
Authored: Thu Mar 10 04:11:31 2016 -0800
Committer: Matt <mm...@pivotal.io>
Committed: Thu Mar 10 04:11:31 2016 -0800

----------------------------------------------------------------------
 .../resources/common-services/PXF/3.0.0/package/scripts/pxf.py   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e1762a42/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py b/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py
index 9a1eaf3..c3da47f 100644
--- a/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py
+++ b/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py
@@ -58,6 +58,10 @@ class Pxf(Script):
     self.__execute_service_command("stop")
 
 
+  def restart(self, env):
+    self.start(env)
+
+
   def status(self, env):
     try:
       self.__execute_service_command("status")