|Pivotal HDB||1.3.x, 2.x|
This article provides a method to modify pxf-env.sh on the HDB cluster that is managed by Ambari.
As there is no interface on the Ambari web interface to modify pxf-env.sh at the moment, any manual change to this file on servers will be reversed to 'default' after PXF service is restarted via Ambari web interface. To prevent the rollback from happening, the template file of pxf-env.sh should be changed and propagated to all nodes running PXF service.
An internal JIRA AMBR-516 has filed to request the feature for changing pxf-env.sh via Ambari interface. Until the feature is ready, use the procedure below to update pxf-env.sh.
1. Make a change first to the template file of pxf-env.sh on the Ambari server node, for example:
2. Restart the Ambari server service to propagate the change to Ambari agents:
# service ambari-server restart
3. Restart the PXF service on all nodes on Ambari web console:
Additional Information (Internal)