CDH support works for CDH4
Default hadoop.distribution.version to 2 for HDP 2.x
Generalize CDH repository setup so we can support CDH5