You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/05/02 10:14:09 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #8117: [FLINK-12115] [filesystems]: Add support for AzureFS

tillrohrmann commented on a change in pull request #8117: [FLINK-12115] [filesystems]: Add support for AzureFS
URL: https://github.com/apache/flink/pull/8117#discussion_r280355192
 
 

 ##########
 File path: flink-filesystems/flink-azure-fs-hadoop/pom.xml
 ##########
 @@ -77,4 +77,53 @@ under the License.
 
 	</dependencies>
 
+	<build>
+		<plugins>
+			<!-- Relocate all Azure related classes -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-shade-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>shade-flink</id>
+						<phase>package</phase>
+						<goals>
+							<goal>shade</goal>
+						</goals>
+						<configuration>
+							<shadeTestJar>false</shadeTestJar>
+							<artifactSet>
+								<includes>
+									<include>*:*</include>
+								</includes>
+							</artifactSet>
+							<relocations>
+								<relocation>
+									<pattern>org.apache.hadoop</pattern>
+									<shadedPattern>org.apache.flink.fs.shaded.hadoop3.org.apache.hadoop</shadedPattern>
 
 Review comment:
   I guess it depends on `hadoop.version` whether it's `hadoop3` or not. Thus, I would simply remove `hadoop3` here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services