mkdir -p /var/lib/ambari-server/resources/stacks/HDP/3.1/services/TESTSRV/package/scripts cd /var/lib/ambari-server/resources/stacks/HDP/3.1/services/TESTSRV/package/scripts