apply HADOOP_VERSION and HIVE_VERSION