Revert "HADOOP-13514. Upgrade maven surefire plugin to 2.19.1." This reverts commit 3d04c00aed63ca49420210f5f34efe39897aae63.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0de40f0e Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0de40f0e Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0de40f0e Branch: refs/heads/YARN-1011 Commit: 0de40f0e27c3369869eaa9f7698c638a7149e705 Parents: e46d5bb Author: Akira Ajisaka <aajis...@apache.org> Authored: Fri Oct 13 18:00:25 2017 +0900 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Fri Oct 13 18:00:25 2017 +0900 ---------------------------------------------------------------------- BUILDING.txt | 4 ++-- dev-support/docker/Dockerfile | 2 +- hadoop-project/pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0de40f0e/BUILDING.txt ---------------------------------------------------------------------- diff --git a/BUILDING.txt b/BUILDING.txt index 9955563..47aaab4 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" ---------------------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0de40f0e/dev-support/docker/Dockerfile ---------------------------------------------------------------------- diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 1ced9ef..31ac611 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 http://git-wip-us.apache.org/repos/asf/hadoop/blob/0de40f0e/hadoop-project/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 66e3dfc..8980f0e 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -117,7 +117,7 @@ <!-- Plugin versions and config --> <maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine> - <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> + <maven-surefire-plugin.version>2.17</maven-surefire-plugin.version> <maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version> <maven-failsafe-plugin.version>${maven-surefire-plugin.version}</maven-failsafe-plugin.version> @@ -1546,7 +1546,7 @@ <test.build.data>${test.build.data}</test.build.data> <test.build.webapps>${test.build.webapps}</test.build.webapps> <test.cache.data>${test.cache.data}</test.cache.data> - <test.build.classes>${project.build.directory}/test-classes</test.build.classes> + <test.build.classes>${test.build.classes}</test.build.classes> <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> <java.security.krb5.conf>${project.build.directory}/test-classes/krb5.conf</java.security.krb5.conf> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org