Set YARN flag into cluster role if deploying a YARN cluster(i.e. Hadoop MRv2)