[
https://issues.apache.org/jira/browse/FLINK-9463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493351#comment-16493351
]
ASF GitHub Bot commented on FLINK-9463:
---------------------------------------
zentol closed pull request #42: [FLINK-9463] Rename native libraries in netty
when shading
URL: https://github.com/apache/flink-shaded/pull/42
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/flink-shaded-netty-4/pom.xml b/flink-shaded-netty-4/pom.xml
index 0aa734b..214ba58 100644
--- a/flink-shaded-netty-4/pom.xml
+++ b/flink-shaded-netty-4/pom.xml
@@ -91,6 +91,33 @@ under the License.
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <echo message="unjar" />
+ <unzip
src="${project.build.directory}/${artifactId}-${version}.jar"
dest="${project.build.directory}/unpacked/" />
+ <echo message="rename service providers in
META-INF/native" />
+ <move
todir="${project.build.directory}/unpacked/META-INF/native"
includeemptydirs="false">
+ <fileset
dir="${project.build.directory}/unpacked/META-INF/native"/>
+ <mapper type="glob"
from="libnetty_transport_native_epoll_x86_64.so"
to="liborg_apache_flink_shaded_netty4_netty_transport_native_epoll_x86_64.so"/>
+ </move>
+ <echo message="jar back" />
+ <jar
destfile="${project.build.directory}/${artifactId}-${version}.jar"
basedir="${project.build.directory}/unpacked" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Setting taskmanager.network.netty.transport to epoll
> -----------------------------------------------------
>
> Key: FLINK-9463
> URL: https://issues.apache.org/jira/browse/FLINK-9463
> Project: Flink
> Issue Type: Bug
> Components: Network
> Affects Versions: 1.4.0, 1.5.0, 1.4.1, 1.4.2
> Reporter: Piotr Nowojski
> Assignee: Piotr Nowojski
> Priority: Major
> Fix For: 1.6.0
>
>
> https://github.com/apache/flink-shaded/issues/30
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)