Skip to content

Commit

Permalink
[ARCTIC-1611]For flinkcontainer optimizer, When making a connection v… (
Browse files Browse the repository at this point in the history
apache#1727)

* [ARCTIC-1611]For flinkcontainer optimizer, When making a connection via ams in high availability mode, NoSuchMethodError is encountered

* include org.apache.curator:* and org.apache.zookeeper:*

---------

Co-authored-by: Yi Xie <[email protected]>
  • Loading branch information
xieyi888 and Yi Xie authored Jul 21, 2023
1 parent 61da296 commit 9f005a0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions ams/ams-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,47 @@
<!-- </execution>-->
<!-- </executions>-->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>create-shaded-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.apache.curator:*</include>
<include>org.apache.zookeeper:*</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache.zookeeper</pattern>
<shadedPattern>com.netease.arctic.shaded.org.apache.zookeeper</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.curator</pattern>
<shadedPattern>com.netease.arctic.shaded.org.apache.curator</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 9f005a0

Please sign in to comment.