Set permission of /tmp in HDFS to 777 explicitly otherwise it's set to 775 randomly sometimes
Reduce unneccessary Chef Search API calls when registering a service.
Clear bootstrap action after the action is completed