Modified impala so impalad only runs on datanodes
Added hive tmp dir creations