hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: Switching to Java 7
Date Mon, 08 Dec 2014 15:46:09 GMT
On 8 December 2014 at 14:58, Ted Yu <yuzhihong@gmail.com> wrote:

> Looks like there was still OutOfMemoryError :
> https://builds.apache.org/job/Hadoop-Hdfs-trunk/1964/testReport/junit/org.apache.hadoop.hdfs.server.namenode.snapshot/TestRenameWithSnapshots/testRenameDirAcrossSnapshottableDirs/

Well, I'm going to ignore that for now as it's a java 8 problem, surfacing
this weekend once the builds were actually switched to Java 8. memory size
tuning can continue.

I have now committed the Java 7+ only patch to branch-2 and up: new code
does not have to worry about java 6 compatibility unless they plan to
backport to Java 2.6 or earlier. Having written some Java 7 code, the <>
constructor for typed classes are a convenience, the multiple-catch entries
more useful, as they eliminate duplicate code in exception handling.

Getting this patch in has revealed that the Jenkins builds of hadoop are
(a) a bit of a mess and (b) prone to race conditions related to the m2
repository if >1 project builds simultaneously. The way the nightly builds
are staggered means this doesn't usually surface, but it may show up during
precommit/postcommit builds.

The switch to Java 7 as the underlying JDK appears to be triggering
failures, these are things that the projects themselves are going to have
to look at.

This then, is where we are with builds right now. This is not a consequence
of the changes to the POM; this list predates that patch. This is Jenkins
running Hadoop builds and tests with Java 7u55

*Working: *


*failing tests*


*failing tests on Java 8 (may include OOM)*


*failing with maven internal dependency problems*


*failing even though it appears to work in the logs*


NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message