2014-09-01 17:20:47 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
2019-05-28 07:29:44 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2014-09-01 17:20:47 +00:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License. See accompanying LICENSE file.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 06:24:59 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2014-09-01 17:20:47 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2014-09-01 17:20:47 +00:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-aws</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2014-09-01 17:20:47 +00:00
|
|
|
<name>Apache Hadoop Amazon Web Services support</name>
|
|
|
|
<description>
|
|
|
|
This module contains code to support integration with Amazon Web Services.
|
|
|
|
It also declares the dependencies needed to work with AWS services.
|
|
|
|
</description>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<file.encoding>UTF-8</file.encoding>
|
|
|
|
<downloadSources>true</downloadSources>
|
2016-05-13 09:46:15 +00:00
|
|
|
<hadoop.tmp.dir>${project.build.directory}/test</hadoop.tmp.dir>
|
2020-08-03 01:46:51 +00:00
|
|
|
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
|
2016-10-18 18:33:38 +00:00
|
|
|
|
|
|
|
<!-- are scale tests enabled ? -->
|
|
|
|
<fs.s3a.scale.test.enabled>unset</fs.s3a.scale.test.enabled>
|
|
|
|
<!-- Size in MB of huge files. -->
|
|
|
|
<fs.s3a.scale.test.huge.filesize>unset</fs.s3a.scale.test.huge.filesize>
|
|
|
|
<!-- Size in MB of the partion size in huge file uploads. -->
|
|
|
|
<fs.s3a.scale.test.huge.partitionsize>unset</fs.s3a.scale.test.huge.partitionsize>
|
|
|
|
<!-- Timeout in seconds for scale tests.-->
|
|
|
|
<fs.s3a.scale.test.timeout>3600</fs.s3a.scale.test.timeout>
|
2017-09-01 13:13:41 +00:00
|
|
|
<!-- are scale tests enabled ? -->
|
|
|
|
<fs.s3a.s3guard.test.enabled>false</fs.s3a.s3guard.test.enabled>
|
|
|
|
<fs.s3a.s3guard.test.authoritative>false</fs.s3a.s3guard.test.authoritative>
|
|
|
|
<fs.s3a.s3guard.test.implementation>local</fs.s3a.s3guard.test.implementation>
|
2018-06-20 22:10:36 +00:00
|
|
|
<!-- Set a longer timeout for integration test (in milliseconds) -->
|
|
|
|
<test.integration.timeout>200000</test.integration.timeout>
|
2017-09-01 13:13:41 +00:00
|
|
|
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- should directory marker retention be audited? -->
|
|
|
|
<fs.s3a.directory.marker.audit>false</fs.s3a.directory.marker.audit>
|
|
|
|
<!-- marker retention policy -->
|
|
|
|
<fs.s3a.directory.marker.retention></fs.s3a.directory.marker.retention>
|
2014-09-01 17:20:47 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>tests-off</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<missing>src/test/resources/auth-keys.xml</missing>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2016-08-23 14:18:49 +00:00
|
|
|
<skipITs>true</skipITs>
|
2014-09-01 17:20:47 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>tests-on</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src/test/resources/auth-keys.xml</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2016-08-23 14:18:49 +00:00
|
|
|
<skipITs>false</skipITs>
|
2014-09-01 17:20:47 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2016-05-13 09:46:15 +00:00
|
|
|
<profile>
|
|
|
|
<id>parallel-tests</id>
|
2016-08-23 14:18:49 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>parallel-tests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-05-13 09:46:15 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-03-13 02:47:42 +00:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-maven-plugins</artifactId>
|
2016-05-13 09:46:15 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-03-13 02:47:42 +00:00
|
|
|
<id>parallel-tests-createdir</id>
|
2016-05-13 09:46:15 +00:00
|
|
|
<goals>
|
2018-03-13 02:47:42 +00:00
|
|
|
<goal>parallel-tests-createdir</goal>
|
2016-05-13 09:46:15 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2016-08-23 14:18:49 +00:00
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<systemPropertyVariables>
|
2018-03-13 02:47:42 +00:00
|
|
|
<testsThreadCount>${testsThreadCount}</testsThreadCount>
|
2016-08-23 14:18:49 +00:00
|
|
|
<test.build.data>${test.build.data}/${surefire.forkNumber}</test.build.data>
|
|
|
|
<test.build.dir>${test.build.dir}/${surefire.forkNumber}</test.build.dir>
|
|
|
|
<hadoop.tmp.dir>${hadoop.tmp.dir}/${surefire.forkNumber}</hadoop.tmp.dir>
|
|
|
|
|
|
|
|
<!-- Due to a Maven quirk, setting this to just -->
|
|
|
|
<!-- surefire.forkNumber won't do the parameter -->
|
|
|
|
<!-- substitution. Putting a prefix in front of it like -->
|
|
|
|
<!-- "fork-" makes it work. -->
|
2017-11-22 15:28:12 +00:00
|
|
|
<!-- Important: Those leading 0s are needed to guarantee that -->
|
|
|
|
<!-- trailing three chars are always numeric and unique -->
|
|
|
|
<test.unique.fork.id>fork-000${surefire.forkNumber}</test.unique.fork.id>
|
2016-10-18 18:33:38 +00:00
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.s3a.scale.test.enabled>${fs.s3a.scale.test.enabled}</fs.s3a.scale.test.enabled>
|
|
|
|
<fs.s3a.scale.test.huge.filesize>${fs.s3a.scale.test.huge.filesize}</fs.s3a.scale.test.huge.filesize>
|
|
|
|
<fs.s3a.scale.test.huge.huge.partitionsize>${fs.s3a.scale.test.huge.partitionsize}</fs.s3a.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.s3a.scale.test.timeout>${fs.s3a.scale.test.timeout}</fs.s3a.scale.test.timeout>
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Markers-->
|
|
|
|
<fs.s3a.directory.marker.retention>${fs.s3a.directory.marker.retention}</fs.s3a.directory.marker.retention>
|
|
|
|
<fs.s3a.directory.marker.audit>${fs.s3a.directory.marker.audit}</fs.s3a.directory.marker.audit>
|
2016-08-23 14:18:49 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2016-05-13 09:46:15 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-08-23 14:18:49 +00:00
|
|
|
<id>default-integration-test</id>
|
2016-05-13 09:46:15 +00:00
|
|
|
<goals>
|
2016-08-23 14:18:49 +00:00
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
2016-05-13 09:46:15 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
2016-10-18 18:33:38 +00:00
|
|
|
<forkedProcessTimeoutInSeconds>${fs.s3a.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2017-11-19 20:39:02 +00:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2016-05-13 09:46:15 +00:00
|
|
|
<systemPropertyVariables>
|
2016-10-18 18:33:38 +00:00
|
|
|
<!-- Tell tests that they are being executed in parallel -->
|
|
|
|
<test.parallel.execution>true</test.parallel.execution>
|
2016-05-13 09:46:15 +00:00
|
|
|
<test.build.data>${test.build.data}/${surefire.forkNumber}</test.build.data>
|
|
|
|
<test.build.dir>${test.build.dir}/${surefire.forkNumber}</test.build.dir>
|
|
|
|
<hadoop.tmp.dir>${hadoop.tmp.dir}/${surefire.forkNumber}</hadoop.tmp.dir>
|
2014-09-01 17:20:47 +00:00
|
|
|
|
2016-05-13 09:46:15 +00:00
|
|
|
<!-- Due to a Maven quirk, setting this to just -->
|
|
|
|
<!-- surefire.forkNumber won't do the parameter -->
|
|
|
|
<!-- substitution. Putting a prefix in front of it like -->
|
|
|
|
<!-- "fork-" makes it work. -->
|
2017-11-22 15:28:12 +00:00
|
|
|
<test.unique.fork.id>fork-000${surefire.forkNumber}</test.unique.fork.id>
|
2016-10-18 18:33:38 +00:00
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.s3a.scale.test.enabled>${fs.s3a.scale.test.enabled}</fs.s3a.scale.test.enabled>
|
|
|
|
<fs.s3a.scale.test.huge.filesize>${fs.s3a.scale.test.huge.filesize}</fs.s3a.scale.test.huge.filesize>
|
|
|
|
<fs.s3a.scale.test.huge.huge.partitionsize>${fs.s3a.scale.test.huge.partitionsize}</fs.s3a.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.s3a.scale.test.timeout>${fs.s3a.scale.test.timeout}</fs.s3a.scale.test.timeout>
|
2017-09-01 13:13:41 +00:00
|
|
|
<!-- S3Guard -->
|
|
|
|
<fs.s3a.s3guard.test.enabled>${fs.s3a.s3guard.test.enabled}</fs.s3a.s3guard.test.enabled>
|
|
|
|
<fs.s3a.s3guard.test.authoritative>${fs.s3a.s3guard.test.authoritative}</fs.s3a.s3guard.test.authoritative>
|
|
|
|
<fs.s3a.s3guard.test.implementation>${fs.s3a.s3guard.test.implementation}</fs.s3a.s3guard.test.implementation>
|
2020-08-15 11:51:08 +00:00
|
|
|
<fs.s3a.directory.marker.retention>${fs.s3a.directory.marker.retention}</fs.s3a.directory.marker.retention>
|
2017-09-01 13:13:41 +00:00
|
|
|
|
2018-06-20 22:10:36 +00:00
|
|
|
<test.default.timeout>${test.integration.timeout}</test.default.timeout>
|
2016-05-13 09:46:15 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<!-- Some tests cannot run in parallel. Tests that cover -->
|
|
|
|
<!-- access to the root directory must run in isolation -->
|
|
|
|
<!-- from anything else that could modify the bucket. -->
|
|
|
|
<!-- S3A tests that cover multi-part upload must run in -->
|
|
|
|
<!-- isolation, because the file system is configured to -->
|
|
|
|
<!-- purge existing multi-part upload data on -->
|
|
|
|
<!-- initialization. MiniYARNCluster has not yet been -->
|
|
|
|
<!-- changed to handle parallel test execution gracefully. -->
|
|
|
|
<!-- Exclude all of these tests from parallel execution, -->
|
|
|
|
<!-- and instead run them sequentially in a separate -->
|
|
|
|
<!-- Surefire execution step later. -->
|
2016-08-23 14:18:49 +00:00
|
|
|
<includes>
|
|
|
|
<include>**/ITest*.java</include>
|
|
|
|
</includes>
|
2016-05-13 09:46:15 +00:00
|
|
|
<excludes>
|
2017-04-19 09:21:44 +00:00
|
|
|
<exclude>**/ITestS3AContractRootDir.java</exclude>
|
2016-10-18 18:33:38 +00:00
|
|
|
<exclude>**/ITestS3AFileContextStatistics.java</exclude>
|
2017-04-24 19:15:42 +00:00
|
|
|
<exclude>**/ITestS3AEncryptionSSEC*.java</exclude>
|
2017-03-07 06:14:55 +00:00
|
|
|
<exclude>**/ITestS3AHuge*.java</exclude>
|
2018-09-13 04:04:49 +00:00
|
|
|
<!-- this sets out to overlaod DynamoDB, so must be run standalone -->
|
|
|
|
<exclude>**/ITestDynamoDBMetadataStoreScale.java</exclude>
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- Terasort MR jobs spawn enough processes that they use up all RAM -->
|
2019-03-21 11:15:37 +00:00
|
|
|
<exclude>**/ITestTerasort*.java</exclude>
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Root marker tool tests -->
|
|
|
|
<exclude>**/ITestMarkerToolRootOperations.java</exclude>
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- operations across the metastore -->
|
|
|
|
<exclude>**/ITestS3GuardDDBRootOperations.java</exclude>
|
2020-12-31 21:55:39 +00:00
|
|
|
<!-- leave this until the end for better statistics -->
|
|
|
|
<exclude>**/ITestAggregateIOStatistics.java</exclude>
|
2016-05-13 09:46:15 +00:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2016-08-23 14:18:49 +00:00
|
|
|
<id>sequential-integration-tests</id>
|
2016-05-13 09:46:15 +00:00
|
|
|
<goals>
|
2016-08-23 14:18:49 +00:00
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
2016-05-13 09:46:15 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-10-18 18:33:38 +00:00
|
|
|
<forkedProcessTimeoutInSeconds>${fs.s3a.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2017-11-19 20:39:02 +00:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2016-10-18 18:33:38 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Tell tests that they are being executed sequentially -->
|
|
|
|
<test.parallel.execution>false</test.parallel.execution>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.s3a.scale.test.enabled>${fs.s3a.scale.test.enabled}</fs.s3a.scale.test.enabled>
|
|
|
|
<fs.s3a.scale.test.huge.filesize>${fs.s3a.scale.test.huge.filesize}</fs.s3a.scale.test.huge.filesize>
|
|
|
|
<fs.s3a.scale.test.huge.huge.partitionsize>${fs.s3a.scale.test.huge.partitionsize}</fs.s3a.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.s3a.scale.test.timeout>${fs.s3a.scale.test.timeout}</fs.s3a.scale.test.timeout>
|
2017-09-01 13:13:41 +00:00
|
|
|
<!-- S3Guard -->
|
|
|
|
<fs.s3a.s3guard.test.enabled>${fs.s3a.s3guard.test.enabled}</fs.s3a.s3guard.test.enabled>
|
|
|
|
<fs.s3a.s3guard.test.implementation>${fs.s3a.s3guard.test.implementation}</fs.s3a.s3guard.test.implementation>
|
|
|
|
<fs.s3a.s3guard.test.authoritative>${fs.s3a.s3guard.test.authoritative}</fs.s3a.s3guard.test.authoritative>
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Markers-->
|
|
|
|
<fs.s3a.directory.marker.retention>${fs.s3a.directory.marker.retention}</fs.s3a.directory.marker.retention>
|
|
|
|
<fs.s3a.directory.marker.audit>${fs.s3a.directory.marker.audit}</fs.s3a.directory.marker.audit>
|
2016-10-18 18:33:38 +00:00
|
|
|
</systemPropertyVariables>
|
2016-05-13 09:46:15 +00:00
|
|
|
<!-- Do a sequential run for tests that cannot handle -->
|
|
|
|
<!-- parallel execution. -->
|
|
|
|
<includes>
|
2016-10-18 18:33:38 +00:00
|
|
|
<include>**/ITestS3AFileContextStatistics.java</include>
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- large uploads consuming all bandwidth -->
|
2016-10-18 18:33:38 +00:00
|
|
|
<include>**/ITestS3AHuge*.java</include>
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- SSE encrypted files confuse everything else -->
|
2017-04-24 19:15:42 +00:00
|
|
|
<include>**/ITestS3AEncryptionSSEC*.java</include>
|
2018-09-13 04:04:49 +00:00
|
|
|
<!-- this sets out to overlaod DynamoDB, so must be run standalone -->
|
|
|
|
<include>**/ITestDynamoDBMetadataStoreScale.java</include>
|
2019-03-21 11:15:37 +00:00
|
|
|
<!-- the terasort tests both work with a file in the same path in -->
|
|
|
|
<!-- the local FS. Running them sequentially guarantees isolation -->
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- and that they don't conflict with the other MR jobs for RAM -->
|
2019-03-21 11:15:37 +00:00
|
|
|
<include>**/ITestTerasort*.java</include>
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Root marker tool tests -->
|
|
|
|
<!-- MUST be run before the other root ops so there's
|
|
|
|
more likelihood of files in the bucket -->
|
|
|
|
<include>**/ITestMarkerToolRootOperations.java</include>
|
2019-07-12 12:02:17 +00:00
|
|
|
<!-- operations across the metastore -->
|
|
|
|
<include>**/ITestS3AContractRootDir.java</include>
|
|
|
|
<include>**/ITestS3GuardDDBRootOperations.java</include>
|
2020-12-31 21:55:39 +00:00
|
|
|
<!-- leave this until the end for better statistics -->
|
|
|
|
<include>**/ITestAggregateIOStatistics.java</include>
|
2016-05-13 09:46:15 +00:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-08-23 14:18:49 +00:00
|
|
|
<profile>
|
|
|
|
<id>sequential-tests</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!parallel-tests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-10-18 18:33:38 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.s3a.scale.test.enabled>${fs.s3a.scale.test.enabled}</fs.s3a.scale.test.enabled>
|
|
|
|
<fs.s3a.scale.test.huge.filesize>${fs.s3a.scale.test.huge.filesize}</fs.s3a.scale.test.huge.filesize>
|
|
|
|
<fs.s3a.scale.test.timeout>${fs.s3a.scale.test.timeout}</fs.s3a.scale.test.timeout>
|
2017-09-01 13:13:41 +00:00
|
|
|
<!-- S3Guard -->
|
|
|
|
<fs.s3a.s3guard.test.enabled>${fs.s3a.s3guard.test.enabled}</fs.s3a.s3guard.test.enabled>
|
|
|
|
<fs.s3a.s3guard.test.implementation>${fs.s3a.s3guard.test.implementation}</fs.s3a.s3guard.test.implementation>
|
|
|
|
<fs.s3a.s3guard.test.authoritative>${fs.s3a.s3guard.test.authoritative}</fs.s3a.s3guard.test.authoritative>
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Markers-->
|
|
|
|
<fs.s3a.directory.marker.retention>${fs.s3a.directory.marker.retention}</fs.s3a.directory.marker.retention>
|
|
|
|
<fs.s3a.directory.marker.audit>${fs.s3a.directory.marker.audit}</fs.s3a.directory.marker.audit>
|
2016-10-18 18:33:38 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.s3a.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2016-08-23 14:18:49 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-10-18 18:33:38 +00:00
|
|
|
|
|
|
|
<!-- Turn on scale tests-->
|
|
|
|
<profile>
|
|
|
|
<id>scale</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>scale</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.scale.test.enabled>true</fs.s3a.scale.test.enabled>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2017-09-01 13:13:41 +00:00
|
|
|
|
|
|
|
<!-- Turn on S3Guard tests-->
|
|
|
|
<profile>
|
|
|
|
<id>s3guard</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>s3guard</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.s3guard.test.enabled>true</fs.s3a.s3guard.test.enabled>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- Switch to DynamoDB for S3Guard. Has no effect unless S3Guard is enabled -->
|
|
|
|
<profile>
|
|
|
|
<id>dynamo</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>dynamo</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.s3guard.test.implementation>dynamo</fs.s3a.s3guard.test.implementation>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- Switch S3Guard from Authoritative=false to true
|
|
|
|
Has no effect unless S3Guard is enabled -->
|
|
|
|
<profile>
|
2018-06-20 22:10:36 +00:00
|
|
|
<id>auth</id>
|
2017-09-01 13:13:41 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>auth</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.s3guard.test.authoritative>true</fs.s3a.s3guard.test.authoritative>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2020-08-15 11:51:08 +00:00
|
|
|
<!-- Directory marker retention options, all from the -Dmarkers value-->
|
|
|
|
<profile>
|
|
|
|
<id>keep-markers</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>markers</name>
|
|
|
|
<value>keep</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.directory.marker.retention>keep</fs.s3a.directory.marker.retention>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>delete-markers</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>markers</name>
|
|
|
|
<value>delete</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.directory.marker.retention>delete</fs.s3a.directory.marker.retention>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>auth-markers</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>markers</name>
|
|
|
|
<value>authoritative</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties >
|
|
|
|
<fs.s3a.directory.marker.retention>authoritative</fs.s3a.directory.marker.retention>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2014-09-01 17:20:47 +00:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<findbugsXmlOutput>true</findbugsXmlOutput>
|
|
|
|
<xmlOutput>true</xmlOutput>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml
|
|
|
|
</excludeFilterFile>
|
|
|
|
<effort>Max</effort>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-11-06 01:17:04 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
|
2018-06-20 22:10:36 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.default.timeout>${test.integration.timeout}</test.default.timeout>
|
|
|
|
</systemPropertyVariables>
|
2014-11-06 01:17:04 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-03-02 21:13:36 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-09-01 13:13:41 +00:00
|
|
|
<id>deplist1</id>
|
2016-03-02 21:13:36 +00:00
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>list</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2017-09-01 13:13:41 +00:00
|
|
|
<!-- build a shellprofile for hadoop-aws optional tools -->
|
2016-03-02 21:13:36 +00:00
|
|
|
<outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-optional.txt</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-09-01 13:13:41 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeScope>test</includeScope>
|
|
|
|
<includeTypes>so,dll,dylib</includeTypes>
|
|
|
|
<outputDirectory>${project.build.directory}/native-libs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>deplist2</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>list</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- referenced by the s3guard command -->
|
|
|
|
<outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-03-02 21:13:36 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-09-01 17:20:47 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2017-08-04 10:09:08 +00:00
|
|
|
<scope>provided</scope>
|
2014-09-01 17:20:47 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2014-09-26 04:56:26 +00:00
|
|
|
<scope>test</scope>
|
2014-09-01 17:20:47 +00:00
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.amazonaws</groupId>
|
2017-02-17 00:51:03 +00:00
|
|
|
<artifactId>aws-java-sdk-bundle</artifactId>
|
2014-09-01 17:20:47 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-06-20 08:56:40 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-01-21 16:37:51 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.openssl</groupId>
|
|
|
|
<artifactId>wildfly-openssl</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2016-06-09 19:58:30 +00:00
|
|
|
<dependency>
|
2014-09-01 17:20:47 +00:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-09-06 16:36:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-01-30 02:29:09 +00:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2016-09-06 16:36:21 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-12 20:18:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-11-22 15:28:12 +00:00
|
|
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
2016-01-12 20:18:33 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-server-tests</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2017-11-22 15:28:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-hs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-12 20:18:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-examples</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
2017-11-22 15:28:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2016-05-20 11:21:35 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-distcp</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-distcp</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2017-11-22 15:28:12 +00:00
|
|
|
<!-- artifacts needed to bring up a Mini MR Yarn cluster-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2018-12-20 18:09:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-01-14 17:59:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-12-20 18:09:01 +00:00
|
|
|
<!-- Used to create SSL certs for a secure Keystore -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-01 17:20:47 +00:00
|
|
|
</dependencies>
|
|
|
|
</project>
|