I put code in the latest patch for HIVE-17983 that executes one of the
compiled classes as part of the maven build.  (It does this to
automatically generate the config template.)  This works locally and in the
ptest build.  But in the Yetus tests it fails with:

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/hadoop/hive/metastore/conf/ConfTemplatePrinter : Unsupported
major.minor version 52.0

This means that it is compiling with JDK 1.8 but running it with 1.7.  How
do we switch the Yetus build so it runs maven with the correct JDK version?

Alan.

Reply via email to