code for 'oozie jobs' cmd to work on master node