diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index f49a18398fc04..df233fff5a576 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -914,7 +914,7 @@ ${ignoreTestFailure} ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${testsThreadCount} ${test.build.data}/${surefire.forkNumber} diff --git a/hadoop-common-project/hadoop-registry/pom.xml b/hadoop-common-project/hadoop-registry/pom.xml index d9102d1d9d71a..3426fba7e7c9a 100644 --- a/hadoop-common-project/hadoop-registry/pom.xml +++ b/hadoop-common-project/hadoop-registry/pom.xml @@ -223,7 +223,7 @@ ${ignoreTestFailure} false 900 - -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError + @{argLine} -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError ${hadoop.common.build.dir} diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml index e17602d1f6466..ab5a9a702110e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml @@ -330,7 +330,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${testsThreadCount} ${test.build.data}/${surefire.forkNumber} diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index 95ac71bae22c8..2a323f975eeb8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -464,7 +464,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> ${ignoreTestFailure} ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${testsThreadCount} ${test.build.data}/${surefire.forkNumber} diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 5df79f18ff752..b073510b232d2 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -2114,7 +2114,7 @@ ${ignoreTestFailure} false ${surefire.fork.timeout} - ${maven-surefire-plugin.argLine} + @{argLine} ${maven-surefire-plugin.argLine} ${hadoop.common.build.dir} diff --git a/hadoop-tools/hadoop-aws/pom.xml b/hadoop-tools/hadoop-aws/pom.xml index 0cab5ada2169d..caaeec51a30dd 100644 --- a/hadoop-tools/hadoop-aws/pom.xml +++ b/hadoop-tools/hadoop-aws/pom.xml @@ -108,7 +108,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${testsThreadCount} ${test.build.data}/${surefire.forkNumber} @@ -146,7 +146,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.s3a.scale.test.timeout} false diff --git a/hadoop-tools/hadoop-azure/pom.xml b/hadoop-tools/hadoop-azure/pom.xml index cc773ab777fc3..140887a6b4352 100644 --- a/hadoop-tools/hadoop-azure/pom.xml +++ b/hadoop-tools/hadoop-azure/pom.xml @@ -325,7 +325,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} ${test.build.data}/${surefire.forkNumber} @@ -356,7 +356,7 @@ 1 false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} ${test.build.data}/${surefire.forkNumber} @@ -390,7 +390,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} false @@ -488,7 +488,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} ${test.build.data}/${surefire.forkNumber} @@ -525,7 +525,7 @@ true both ${testsThreadCount} - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} false @@ -569,7 +569,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} false @@ -638,7 +638,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} ${test.build.data}/${surefire.forkNumber} @@ -668,7 +668,7 @@ 1 false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} ${test.build.data}/${surefire.forkNumber} @@ -702,7 +702,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${fs.azure.scale.test.timeout} false diff --git a/hadoop-tools/hadoop-distcp/pom.xml b/hadoop-tools/hadoop-distcp/pom.xml index 7e5aaebc08513..1050cd905a9aa 100644 --- a/hadoop-tools/hadoop-distcp/pom.xml +++ b/hadoop-tools/hadoop-distcp/pom.xml @@ -132,7 +132,7 @@ 1 false 600 - -Xmx1024m + @{argLine} -Xmx1024m **/Test*.java diff --git a/hadoop-tools/hadoop-federation-balance/pom.xml b/hadoop-tools/hadoop-federation-balance/pom.xml index 588bb98f3e75a..52f149cd2a492 100644 --- a/hadoop-tools/hadoop-federation-balance/pom.xml +++ b/hadoop-tools/hadoop-federation-balance/pom.xml @@ -142,7 +142,7 @@ 1 false 600 - -Xmx1024m + @{argLine} -Xmx1024m **/Test*.java diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml index e790cc8cefc70..026a53d27eee5 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml @@ -477,7 +477,7 @@ ${testsThreadCount} false - ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true + @{argLine} ${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true ${testsThreadCount} ${test.build.data}/${surefire.forkNumber}