This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch release-1.11 in repository https://gitbox.apache.org/repos/asf/flink.git
commit cafe5e6edca1391ad126c82598a26a7a777e4200 Author: Yangze Guo <karma...@gmail.com> AuthorDate: Tue Jun 9 21:50:46 2020 +0800 [FLINK-18018][dist] Bundle GPU plugin in plugins/ directory --- flink-dist/src/main/assemblies/opt.xml | 22 ---------------------- flink-dist/src/main/assemblies/plugins.xml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flink-dist/src/main/assemblies/opt.xml b/flink-dist/src/main/assemblies/opt.xml index aa2327c..ed263a36 100644 --- a/flink-dist/src/main/assemblies/opt.xml +++ b/flink-dist/src/main/assemblies/opt.xml @@ -75,28 +75,6 @@ <fileMode>0644</fileMode> </file> - <!-- External Resource --> - <file> - <source>../flink-external-resources/flink-external-resource-gpu/target/flink-external-resource-gpu-${project.version}.jar</source> - <outputDirectory>opt/external-resource-gpu/</outputDirectory> - <destName>flink-external-resource-gpu-${project.version}.jar</destName> - <fileMode>0644</fileMode> - </file> - - <file> - <source>../flink-external-resources/flink-external-resource-gpu/src/main/resources/gpu-discovery-common.sh</source> - <outputDirectory>opt/external-resource-gpu/</outputDirectory> - <destName>gpu-discovery-common.sh</destName> - <fileMode>0755</fileMode> - </file> - - <file> - <source>../flink-external-resources/flink-external-resource-gpu/src/main/resources/nvidia-gpu-discovery.sh</source> - <outputDirectory>opt/external-resource-gpu/</outputDirectory> - <destName>nvidia-gpu-discovery.sh</destName> - <fileMode>0755</fileMode> - </file> - <file> <source>../flink-filesystems/flink-s3-fs-hadoop/target/flink-s3-fs-hadoop-${project.version}.jar</source> <outputDirectory>opt/</outputDirectory> diff --git a/flink-dist/src/main/assemblies/plugins.xml b/flink-dist/src/main/assemblies/plugins.xml index e2824c4..b6008fe 100644 --- a/flink-dist/src/main/assemblies/plugins.xml +++ b/flink-dist/src/main/assemblies/plugins.xml @@ -79,6 +79,28 @@ <destName>flink-metrics-slf4j-${project.version}.jar</destName> <fileMode>0644</fileMode> </file> + + <!-- External Resource --> + <file> + <source>../flink-external-resources/flink-external-resource-gpu/target/flink-external-resource-gpu-${project.version}.jar</source> + <outputDirectory>plugins/external_resource_gpu/</outputDirectory> + <destName>flink-external-resource-gpu-${project.version}.jar</destName> + <fileMode>0644</fileMode> + </file> + + <file> + <source>../flink-external-resources/flink-external-resource-gpu/src/main/resources/gpu-discovery-common.sh</source> + <outputDirectory>plugins/external_resource_gpu/</outputDirectory> + <destName>gpu-discovery-common.sh</destName> + <fileMode>0755</fileMode> + </file> + + <file> + <source>../flink-external-resources/flink-external-resource-gpu/src/main/resources/nvidia-gpu-discovery.sh</source> + <outputDirectory>plugins/external_resource_gpu/</outputDirectory> + <destName>nvidia-gpu-discovery.sh</destName> + <fileMode>0755</fileMode> + </file> </files> </assembly>