add yarn support for JobDescFactory#getCluster api