HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04: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-29 04:34:16 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04: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 02:27:33 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-10-16 02:52:41 -04:00
|
|
|
<version>3.2.3-SNAPSHOT</version>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-azure</artifactId>
|
|
|
|
<name>Apache Hadoop Azure support</name>
|
|
|
|
<description>
|
|
|
|
This module contains code to support integration with Azure.
|
|
|
|
Currently this consists of a filesystem client to read data from
|
|
|
|
and write data to Azure Storage.
|
|
|
|
</description>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<file.encoding>UTF-8</file.encoding>
|
|
|
|
<downloadSources>true</downloadSources>
|
2017-09-15 12:03:01 -04:00
|
|
|
<hadoop.tmp.dir>${project.build.directory}/test</hadoop.tmp.dir>
|
|
|
|
<!-- are scale tests enabled ? -->
|
|
|
|
<fs.azure.scale.test.enabled>unset</fs.azure.scale.test.enabled>
|
|
|
|
<!-- Size in MB of huge files. -->
|
|
|
|
<fs.azure.scale.test.huge.filesize>unset</fs.azure.scale.test.huge.filesize>
|
|
|
|
<!-- Size in MB of the partion size in huge file uploads. -->
|
|
|
|
<fs.azure.scale.test.huge.partitionsize>unset</fs.azure.scale.test.huge.partitionsize>
|
|
|
|
<!-- Timeout in seconds for scale tests.-->
|
|
|
|
<fs.azure.scale.test.timeout>7200</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>10</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>1000</fs.azure.scale.test.list.performance.files>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- To run with the default Sun ruleset,
|
|
|
|
comment out the configLocation line -->
|
|
|
|
<configLocation>src/config/checkstyle.xml</configLocation>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<suppressionsLocation>src/config/checkstyle-suppressions.xml</suppressionsLocation>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
2015-02-02 14:50:43 -05:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2016-03-02 16:13:36 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>deplist</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>list</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- build a shellprofile -->
|
|
|
|
<outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-optional.txt</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
The following is to suppress a m2e warning in eclipse
|
|
|
|
(m2e doesn't know how to handle maven-enforcer:enforce, so we have to tell m2e to ignore it)
|
2019-05-27 02:27:33 -04:00
|
|
|
see: https://stackoverflow.com/questions/13040788/how-to-elimate-the-maven-enforcer-plugin-goal-enforce-is-ignored-by-m2e-wa
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
-->
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<versionRange>[1.0.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<!-- see hadoop-project/pom.xml for version number declarations -->
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2018-05-10 05:38:08 -04:00
|
|
|
<scope>provided</scope>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2015-03-06 17:59:09 -05:00
|
|
|
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<dependency>
|
2015-03-06 17:59:09 -05:00
|
|
|
<groupId>com.microsoft.azure</groupId>
|
|
|
|
<artifactId>azure-storage</artifactId>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<scope>compile</scope>
|
2016-11-17 23:48:35 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2018-08-10 20:10:26 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util-ajax</artifactId>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-10-27 19:01:23 -04:00
|
|
|
|
|
|
|
<dependency>
|
2018-08-10 20:10:26 -04:00
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2018-08-16 12:19:13 -04:00
|
|
|
|
2018-08-10 20:10:26 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
2016-10-27 19:01:23 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
|
2018-08-16 12:19:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.openssl</groupId>
|
|
|
|
<artifactId>wildfly-openssl</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2018-08-10 20:10:26 -04:00
|
|
|
|
2018-09-25 15:58:32 -04:00
|
|
|
<!--com.fasterxml.jackson is used by WASB, not ABFS-->
|
|
|
|
<!--transitive dependency from Azure SDK-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--transitive dependency from hadoop-common-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<!-- dependencies use for test only -->
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
|
2016-05-20 07:21:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2018-09-25 15:58:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
HADOOP-10728. Metrics system for Windows Azure Storage Filesystem. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1605187 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 16:52:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-11-19 11:51:49 -05:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</dependencies>
|
2017-09-15 12:03:01 -04:00
|
|
|
|
|
|
|
<profiles>
|
2018-09-01 16:39:34 -04:00
|
|
|
<profile>
|
|
|
|
<id>parallel-tests-wasb</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2018-09-18 07:09:25 -04:00
|
|
|
<name>parallel-tests</name>
|
|
|
|
<value>wasb</value>
|
2018-09-01 16:39:34 -04:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-parallel-tests-dirs</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<script language="javascript"><![CDATA[
|
|
|
|
var baseDirs = [
|
|
|
|
project.getProperty("test.build.data"),
|
|
|
|
project.getProperty("test.build.dir"),
|
|
|
|
project.getProperty("hadoop.tmp.dir")
|
|
|
|
];
|
|
|
|
for (var i in baseDirs) {
|
|
|
|
for (var j = 1; j <= ${testsThreadCount}; ++j) {
|
|
|
|
var mkdir = project.createTask("mkdir");
|
|
|
|
mkdir.setDir(new java.io.File(baseDirs[i], j));
|
|
|
|
mkdir.perform();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]]></script>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<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>
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/azure/Test*.java</include>
|
|
|
|
<include>**/azure/**/Test*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/azure/**/TestRollingWindowAverage*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>serialized-test-wasb</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<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>
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/azure/**/TestRollingWindowAverage*.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-integration-test-wasb</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Tell tests that they are being executed in parallel -->
|
|
|
|
<test.parallel.execution>true</test.parallel.execution>
|
|
|
|
<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. -->
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<!-- Some tests cannot run in parallel-->
|
|
|
|
<includes>
|
|
|
|
<include>**/azure/ITest*.java</include>
|
|
|
|
<include>**/azure/**/ITest*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/azure/ITestNativeFileSystemStatistics.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- Do a sequential run for tests that cannot handle -->
|
|
|
|
<!-- parallel execution. -->
|
|
|
|
<execution>
|
|
|
|
<id>sequential-integration-tests-wasb</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.parallel.execution>false</test.parallel.execution>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/azure/ITestNativeFileSystemStatistics.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>parallel-tests-abfs</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2018-09-18 07:09:25 -04:00
|
|
|
<name>parallel-tests</name>
|
|
|
|
<value>abfs</value>
|
2018-09-01 16:39:34 -04:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-parallel-tests-dirs</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<script language="javascript"><![CDATA[
|
|
|
|
var baseDirs = [
|
|
|
|
project.getProperty("test.build.data"),
|
|
|
|
project.getProperty("test.build.dir"),
|
|
|
|
project.getProperty("hadoop.tmp.dir")
|
|
|
|
];
|
|
|
|
for (var i in baseDirs) {
|
|
|
|
for (var j = 1; j <= ${testsThreadCount}; ++j) {
|
|
|
|
var mkdir = project.createTask("mkdir");
|
|
|
|
mkdir.setDir(new java.io.File(baseDirs[i], j));
|
|
|
|
mkdir.perform();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]]></script>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<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>
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/azurebfs/Test*.java</include>
|
|
|
|
<include>**/azurebfs/**/Test*.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration-test-abfs-parallel-classesAndMethods</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>true</reuseForks>
|
|
|
|
<parallel>both</parallel>
|
|
|
|
<threadCount>${testsThreadCount}</threadCount>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Tell tests that they are being executed in parallel -->
|
|
|
|
<test.parallel.execution>true</test.parallel.execution>
|
|
|
|
<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. -->
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
|
|
|
|
<includes>
|
|
|
|
<include>**/azurebfs/ITest*.java</include>
|
|
|
|
<include>**/azurebfs/**/ITest*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/azurebfs/contract/ITest*.java</exclude>
|
|
|
|
<exclude>**/azurebfs/ITestAzureBlobFileSystemE2EScale.java</exclude>
|
|
|
|
<exclude>**/azurebfs/ITestAbfsReadWriteAndSeek.java</exclude>
|
|
|
|
<exclude>**/azurebfs/ITestAzureBlobFileSystemListStatus.java</exclude>
|
2019-03-05 09:01:21 -05:00
|
|
|
<exclude>**/azurebfs/extensions/ITestAbfsDelegationTokens.java</exclude>
|
2018-09-01 16:39:34 -04:00
|
|
|
</excludes>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>integration-test-abfs-parallel-classes</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<!--NOTICE: hadoop contract tests methods can not be ran in parallel-->
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Tell tests that they are being executed in parallel -->
|
|
|
|
<test.parallel.execution>true</test.parallel.execution>
|
|
|
|
<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. -->
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/azurebfs/contract/ITest*.java</include>
|
|
|
|
<include>**/azurebfs/ITestAzureBlobFileSystemE2EScale.java</include>
|
|
|
|
<include>**/azurebfs/ITestAbfsReadWriteAndSeek.java</include>
|
|
|
|
<include>**/azurebfs/ITestAzureBlobFileSystemListStatus.java</include>
|
2019-03-05 09:01:21 -05:00
|
|
|
<include>**/azurebfs/extensions/ITestAbfsDelegationTokens.java</include>
|
2018-09-01 16:39:34 -04:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2017-09-15 12:03:01 -04:00
|
|
|
<profile>
|
|
|
|
<id>parallel-tests</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>parallel-tests</name>
|
2018-09-18 07:09:25 -04:00
|
|
|
<value>both</value>
|
2017-09-15 12:03:01 -04:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-parallel-tests-dirs</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<script language="javascript"><![CDATA[
|
|
|
|
var baseDirs = [
|
|
|
|
project.getProperty("test.build.data"),
|
|
|
|
project.getProperty("test.build.dir"),
|
|
|
|
project.getProperty("hadoop.tmp.dir")
|
|
|
|
];
|
|
|
|
for (var i in baseDirs) {
|
|
|
|
for (var j = 1; j <= ${testsThreadCount}; ++j) {
|
|
|
|
var mkdir = project.createTask("mkdir");
|
|
|
|
mkdir.setDir(new java.io.File(baseDirs[i], j));
|
|
|
|
mkdir.perform();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]]></script>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<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>
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
2017-09-15 12:03:01 -04:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/Test*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/TestRollingWindowAverage*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>serialized-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<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>
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
2017-09-15 12:03:01 -04:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
|
|
|
<include>**/TestRollingWindowAverage*.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-integration-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>${testsThreadCount}</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
<argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2017-11-19 15:39:02 -05:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2017-09-15 12:03:01 -04:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Tell tests that they are being executed in parallel -->
|
|
|
|
<test.parallel.execution>true</test.parallel.execution>
|
|
|
|
<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. -->
|
|
|
|
<test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
2017-09-15 12:03:01 -04: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. -->
|
|
|
|
<!-- azure 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. -->
|
|
|
|
<includes>
|
|
|
|
<include>**/ITest*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/ITestFileSystemOperationsExceptionHandlingMultiThreaded.java</exclude>
|
|
|
|
<exclude>**/ITestFileSystemOperationsWithThreads.java</exclude>
|
|
|
|
<exclude>**/ITestOutOfBandAzureBlobOperationsLive.java</exclude>
|
|
|
|
<exclude>**/ITestNativeAzureFileSystemAuthorizationWithOwner.java</exclude>
|
|
|
|
<exclude>**/ITestNativeAzureFileSystemConcurrencyLive.java</exclude>
|
|
|
|
<exclude>**/ITestNativeAzureFileSystemLive.java</exclude>
|
|
|
|
<exclude>**/ITestNativeAzureFSPageBlobLive.java</exclude>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<exclude>**/ITestAzureBlobFileSystemRandomRead.java</exclude>
|
2017-09-15 12:03:01 -04:00
|
|
|
<exclude>**/ITestWasbRemoteCallHelper.java</exclude>
|
|
|
|
<exclude>**/ITestBlockBlobInputStream.java</exclude>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<exclude>**/ITestWasbAbfsCompatibility.java</exclude>
|
2018-09-01 16:39:34 -04:00
|
|
|
<exclude>**/ITestNativeFileSystemStatistics.java</exclude>
|
2017-09-15 12:03:01 -04:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- Do a sequential run for tests that cannot handle -->
|
|
|
|
<!-- parallel execution. -->
|
|
|
|
<execution>
|
|
|
|
<id>sequential-integration-tests</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2017-11-19 15:39:02 -05:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2017-09-15 12:03:01 -04:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.parallel.execution>false</test.parallel.execution>
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.huge.huge.partitionsize>${fs.azure.scale.test.huge.partitionsize}</fs.azure.scale.test.huge.huge.partitionsize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
2017-09-15 12:03:01 -04:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<includes>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<include>**/ITestWasbAbfsCompatibility.java</include>
|
2017-09-15 12:03:01 -04:00
|
|
|
<include>**/ITestFileSystemOperationsExceptionHandlingMultiThreaded.java</include>
|
|
|
|
<include>**/ITestFileSystemOperationsWithThreads.java</include>
|
|
|
|
<include>**/ITestOutOfBandAzureBlobOperationsLive.java</include>
|
|
|
|
<include>**/ITestNativeAzureFileSystemAuthorizationWithOwner.java</include>
|
|
|
|
<include>**/ITestNativeAzureFileSystemConcurrencyLive.java</include>
|
|
|
|
<include>**/ITestNativeAzureFileSystemLive.java</include>
|
HADOOP-15407. HADOOP-15540. Support Windows Azure Storage - Blob file system "ABFS" in Hadoop: Core Commit.
Contributed by Shane Mainali, Thomas Marquardt, Zichen Sun, Georgi Chalakov, Esfandiar Manii, Amit Singh, Dana Kaban, Da Zhou, Junhua Gu, Saher Ahwal, Saurabh Pant, James Baker, Shaoyu Zhang, Lawrence Chen, Kevin Chen and Steve Loughran
2018-06-15 13:14:13 -04:00
|
|
|
<include>**/ITestNativeAzureFSPageBlobLive.java</include>
|
|
|
|
<include>**/ITestAzureBlobFileSystemRandomRead.java</include>
|
2017-09-15 12:03:01 -04:00
|
|
|
<include>**/ITestWasbRemoteCallHelper.java</include>
|
|
|
|
<include>**/ITestBlockBlobInputStream.java</include>
|
2018-09-01 16:39:34 -04:00
|
|
|
<include>**/ITestNativeFileSystemStatistics.java</include>
|
2017-09-15 12:03:01 -04:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-09-01 16:39:34 -04:00
|
|
|
|
2017-09-15 12:03:01 -04:00
|
|
|
<profile>
|
|
|
|
<id>sequential-tests</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2018-09-18 07:09:25 -04:00
|
|
|
<name>!parallel-tests</name>
|
2017-09-15 12:03:01 -04:00
|
|
|
</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>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- Propagate scale parameters -->
|
|
|
|
<fs.azure.scale.test.enabled>${fs.azure.scale.test.enabled}</fs.azure.scale.test.enabled>
|
|
|
|
<fs.azure.scale.test.huge.filesize>${fs.azure.scale.test.huge.filesize}</fs.azure.scale.test.huge.filesize>
|
|
|
|
<fs.azure.scale.test.timeout>${fs.azure.scale.test.timeout}</fs.azure.scale.test.timeout>
|
2018-07-19 15:31:19 -04:00
|
|
|
<fs.azure.scale.test.list.performance.threads>${fs.azure.scale.test.list.performance.threads}</fs.azure.scale.test.list.performance.threads>
|
|
|
|
<fs.azure.scale.test.list.performance.files>${fs.azure.scale.test.list.performance.files}</fs.azure.scale.test.list.performance.files>
|
2017-09-15 12:03:01 -04:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<forkedProcessTimeoutInSeconds>${fs.azure.scale.test.timeout}</forkedProcessTimeoutInSeconds>
|
2017-11-19 15:39:02 -05:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2017-09-15 12:03:01 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- Turn on scale tests-->
|
|
|
|
<profile>
|
|
|
|
<id>scale</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>scale</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<fs.azure.scale.test.enabled>true</fs.azure.scale.test.enabled>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
HADOOP-9629. Support Windows Azure Storage - Blob as a file system in Hadoop. Contributed by Dexter Bradshaw, Mostafa Elhemali, Xi Fang, Johannes Klein, David Lao, Mike Liddell, Chuan Liu, Lengning Liu, Ivan Mitic, Michael Rys, Alexander Stojanovic, Brian Swan, and Min Wei.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601781 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 18:26:45 -04:00
|
|
|
</project>
|