From f6d20daf404fab28b596171172afa4558facb504 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 21 Jan 2020 18:03:24 +0900 Subject: [PATCH] HADOOP-16808. Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin. Contributed by Xieming Li. --- hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml | 3 ++- hadoop-tools/hadoop-distcp/pom.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml index 69b2634d82..d97e8d70d0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml @@ -368,7 +368,8 @@ org.apache.maven.plugins maven-surefire-plugin - once + 1 + true 600 ${project.build.directory}/test-classes/krb5.conf diff --git a/hadoop-tools/hadoop-distcp/pom.xml b/hadoop-tools/hadoop-distcp/pom.xml index fe1681b48e..cce4e47210 100644 --- a/hadoop-tools/hadoop-distcp/pom.xml +++ b/hadoop-tools/hadoop-distcp/pom.xml @@ -128,7 +128,8 @@ org.apache.maven.plugins maven-surefire-plugin - always + 1 + false 600 -Xmx1024m