Add support for deploying CDH4 YARN cluster