getCluster api should check for hadoop 2 property first
Merge pull request #89 from aniket486/check_hadoop_2_rm_first

getCluster api should check for hadoop 2 property first