-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44542/
-----------------------------------------------------------

(Updated March 9, 2016, 4:32 a.m.)


Review request for Ambari, Alejandro Fernandez, jun aoki, Jayush Luniya, Matt, 
and Oleksandr Diachenko.


Changes
-------

Applied feedback


Bugs: AMBARI-15341
    https://issues.apache.org/jira/browse/AMBARI-15341


Repository: ambari


Description
-------

This patch updates the method used to restart PXF.
We should use pxf-service restart method when Restart action is called via 
Ambari.
Currently we use pxf-service stop followed by pxf-service start, due to which 
if pxf-service is already stopped, stop command fails.
pxf-service restart takes care of not exiting with exit code 1 if pxf-service 
is already stopped, and finishes successfully.


Diffs (updated)
-----

  
ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/pxf.py
 9a1eaf3 

Diff: https://reviews.apache.org/r/44542/diff/


Testing
-------

yes. manually


Thanks,

bhuvnesh chaudhary

Reply via email to