update enron example to work on 1.0 clusters
fix checks for CDH clusters