update for jdk7 & cdh5