From 6903cf096e702c8d4827d4e72cd5638c3a3b5429 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Sun, 19 Nov 2017 12:39:02 -0800 Subject: HADOOP-13514. Upgrade maven surefire plugin to 2.20.1 Signed-off-by: Allen Wittenauer --- BUILDING.txt | 4 ++-- hadoop-client-modules/hadoop-client-integration-tests/pom.xml | 3 +++ hadoop-project/pom.xml | 5 +++-- hadoop-tools/hadoop-aws/pom.xml | 2 ++ hadoop-tools/hadoop-azure/pom.xml | 3 +++ 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 47aaab446b..99555633a1 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 and 512 MB of heap space to +Here is an example setting to allocate between 256 MB and 1 GB of heap space to Maven -export MAVEN_OPTS="-Xms256m -Xmx512m" +export MAVEN_OPTS="-Xms256m -Xmx1g" ---------------------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml index 1295b59d48..89b96454d0 100644 --- a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml +++ b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml @@ -128,6 +128,9 @@ integration-test verify + + false + diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index f99e41386c..c4dc1bf63e 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -118,7 +118,7 @@ -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError - 2.17 + 2.20.1 ${maven-surefire-plugin.version} ${maven-surefire-plugin.version} @@ -1602,6 +1602,7 @@ ${env.DYLD_LIBRARY_PATH}:${project.build.directory}/native/target/usr/local/lib:${hadoop.common.build.dir}/native/target/usr/local/lib 4 + false ${project.build.directory}/log @@ -1612,7 +1613,7 @@ ${test.build.data} ${test.build.webapps} ${test.cache.data} - ${test.build.classes} + ${project.build.directory}/test-classes true ${project.build.directory}/test-classes/krb5.conf diff --git a/hadoop-tools/hadoop-aws/pom.xml b/hadoop-tools/hadoop-aws/pom.xml index 47788cd505..97ceddfd14 100644 --- a/hadoop-tools/hadoop-aws/pom.xml +++ b/hadoop-tools/hadoop-aws/pom.xml @@ -153,6 +153,7 @@ false ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.s3a.scale.test.timeout} + false true @@ -207,6 +208,7 @@ ${fs.s3a.scale.test.timeout} + false false diff --git a/hadoop-tools/hadoop-azure/pom.xml b/hadoop-tools/hadoop-azure/pom.xml index b479872f07..1728b601c4 100644 --- a/hadoop-tools/hadoop-azure/pom.xml +++ b/hadoop-tools/hadoop-azure/pom.xml @@ -349,6 +349,7 @@ false ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} + false true @@ -404,6 +405,7 @@ ${fs.azure.scale.test.timeout} + false false ${fs.azure.scale.test.enabled} @@ -454,6 +456,7 @@ ${fs.azure.scale.test.timeout} ${fs.azure.scale.test.timeout} + false -- cgit v1.2.3