Base shell script to run hadoop command