Browse Source

resolve curator-client dependency confliction (#3488)

* dolphinscheduler-api.pom resolve curator-client conflict

the ds use curator-client:4.3.0 dependency by curator-frameworke,
but hadoop-common use  curator-client:2.7.1,
so make the ClassNotFoundException
```
Caused by: java.lang.ClassNotFoundException: org.apache.curator.connection.StandardConnectionHandlingPolicy
```
exclue curator-client in hadoop-common to resolve this

* resolve curator-client dependency confliction


## What is the purpose of the pull request

the ds use curator-client:4.3.0 dependency by curator-frameworke,
but hadoop-common use  curator-client:2.7.1,
so make the ClassNotFoundException
```
Caused by: java.lang.ClassNotFoundException: org.apache.curator.connection.StandardConnectionHandlingPolicy
```
exclue curator-client in hadoop-common to resolve this
geosmart 4 years ago
parent
commit
6da7f1a2d1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      dolphinscheduler-api/pom.xml

+ 5 - 1
dolphinscheduler-api/pom.xml

@@ -152,6 +152,10 @@
           <groupId>javax.servlet</groupId>
           <artifactId>servlet-api</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.apache.curator</groupId>
+          <artifactId>curator-client</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 
@@ -244,4 +248,4 @@
     </dependency>
 
   </dependencies>
-</project>
+</project>