Re: [DISCUSS] Moving branch-2 to java 8

2019-02-04 Thread Jonathan Hung
Hi Anu, we will configure precommit jobs to continue compiling on openjdk7. If there's incompatible source changes then the precommit job will catch this. The change proposed here is only for the *test* phase of branch-2 precommit executions (and branch-2 nightly job) to run on openjdk8 only.

Re: [DISCUSS] Moving branch-2 to java 8

2019-02-04 Thread Jonathan Hung
Yeah, it's possible with yetus, there's one example here which runs compilation on openjdk7 (and openjdk8), and runs tests on openjdk8 only. Jonathan Hung On Mon, Feb 4, 2019 at 10:11 AM

Re: [DISCUSS] Moving branch-2 to java 8

2019-02-04 Thread Steve Loughran
On 2 Feb 2019, at 00:57, Konstantin Shvachko mailto: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

Re: [DISCUSS] Moving branch-2 to java 8

2019-02-01 Thread Konstantin Shvachko
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

Re: [DISCUSS] Moving branch-2 to java 8

2019-02-01 Thread Jonathan Hung
Thanks Vinod and Steve, agreed about java7 compile compatibility. At least for now, we should be able to maintain java7 source compatibility and run tests on java8. There's a test run here: https://builds.apache.org/job/hadoop-qbt-branch2-java7-linux-x86-jhung/46/ which calls a java8 specific API,

Re: [DISCUSS] Moving branch-2 to java 8

2019-01-29 Thread Steve Loughran
branch-2 is the JDK 7 branch, but for a long time I (and presumably others) have relied on jenkins to keep us honest by doing that build and test right now, we can't do that any more, due to jdk7 bugs which will never be fixed by oracle, or at least, not in a public release. If we can still do

Re: [DISCUSS] Moving branch-2 to java 8

2019-01-28 Thread Vinod Kumar Vavilapalli
The community made a decision long time ago that we'd like to keep the compatibility & so tie branch-2 to Java 7, but do Java 8+ only work on 3.x. I always assumed that most (all?) downstream users build branch-2 on JDK 7 only, can anyone confirm? If so, there may be an easier way to address

[DISCUSS] Moving branch-2 to java 8

2019-01-28 Thread Jonathan Hung
Hi folks, Forking a discussion based on HADOOP-15711. To summarize, there are issues with branch-2 tests running on java 7 (openjdk) which don't exist on java 8. From our testing, the build can pass with openjdk 8. For branch-3, the work to move the build to use java 8 was done in HADOOP-14816