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