updating all poms to cdh5.2.0; some minor code changes to run against new cdh api