Yeah, it's possible with yetus, there's one example here <https://builds.apache.org/view/H-L/view/Hadoop/job/hadoop-qbt-branch2-java7-linux-x86-jhung/60/console> which runs compilation on openjdk7 (and openjdk8), and runs tests on openjdk8 only.
Jonathan Hung On Mon, Feb 4, 2019 at 10:11 AM Steve Loughran <ste...@hortonworks.com> wrote: > > > On 2 Feb 2019, at 00:57, Konstantin Shvachko <shv.had...@gmail.com> wrote: > > Just to make sure we are on the same page, as the subject of this thread > is too generic and confusing. > *The proposal is to move branch-2 Jenkins builds such as precommit to run > tests on openJDK-8.* > We do not want to break Java 7 source compatibility. The sources and > releases will still depend on Java 7. > We don't see test failures discussed in HADOOP-15711 when we run them > locally with Oracle Java 7. > > Thanks, > --Konst > > > Given the tests aren't working today, the risk that an openjdk 8 test run > hides a problem which would show up on openjdk 7 has to consider that at > least openjdk8 will run the tests. > > One thing I would like to be confident is that at least the compile phase > of all the source (including generated source) is on jdk7, and its only the > test run which switches JVM. Can we do that? >