From 24ac7c6e7999421d4a69cd542d404a98c5444167 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Fri, 13 Oct 2017 18:01:50 +0900 Subject: [PATCH] Revert "HADOOP-13514. Upgrade maven surefire plugin to 2.19.1." This reverts commit 372997f3954e97200220ebb3117eed4a175f101c. --- BUILDING.txt | 4 ++-- dev-support/docker/Dockerfile | 2 +- hadoop-project/pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 99555633a12..47aaab446b1 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -331,10 +331,10 @@ If the build process fails with an out of memory error, you should be able to fi it by increasing the memory used by maven which can be done via the environment variable MAVEN_OPTS. -Here is an example setting to allocate between 256 MB and 1 GB of heap space to +Here is an example setting to allocate between 256 and 512 MB of heap space to Maven -export MAVEN_OPTS="-Xms256m -Xmx1g" +export MAVEN_OPTS="-Xms256m -Xmx512m" ---------------------------------------------------------------------------------- diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 1ced9ef7630..31ac611f65d 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -147,7 +147,7 @@ RUN pip install python-dateutil ### # Avoid out of memory errors in builds ### -ENV MAVEN_OPTS -Xms256m -Xmx1g +ENV MAVEN_OPTS -Xms256m -Xmx512m ### # Install node js tools for web UI frameowkr diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index fe38f2433f8..8aa40525e29 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -116,7 +116,7 @@ -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError - 2.19.1 + 2.17 ${maven-surefire-plugin.version} ${maven-surefire-plugin.version} @@ -1545,7 +1545,7 @@ ${test.build.data} ${test.build.webapps} ${test.cache.data} - ${project.build.directory}/test-classes + ${test.build.classes} true ${project.build.directory}/test-classes/krb5.conf