changes necessary for cloudera cdh 5