diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e842fe6c32b..3d13918f6ad 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -161,6 +161,8 @@ Release 2.7.0 - UNRELEASED HADOOP-11329. Add JAVA_LIBRARY_PATH to KMS startup options. (Arun Suresh via wang) + HADOOP-11363 Hadoop maven surefire-plugin uses must set heap size. (stevel) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 76b86459c21..d50b72c01e8 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -84,6 +84,12 @@ --> [${javac.version},) [3.0.2,) + + + -Xmx4096m -XX:MaxPermSize=768m -XX:+HeapDumpOnOutOfMemoryError + 2.17 + ${maven-surefire-plugin.version} + ${maven-surefire-plugin.version} @@ -948,7 +954,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.16 + ${maven-surefire-plugin.version} org.apache.maven.plugins @@ -1097,7 +1103,7 @@ false 900 - -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError + ${maven-surefire-plugin.argLine} ${hadoop.common.build.dir}