From 6da7f1a2d1cbedc6c50dfb46b1a0e983604d2888 Mon Sep 17 00:00:00 2001 From: geosmart Date: Fri, 14 Aug 2020 00:34:30 +0800 Subject: [PATCH] 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 --- dolphinscheduler-api/pom.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-api/pom.xml b/dolphinscheduler-api/pom.xml index 035551e66..76dd8980b 100644 --- a/dolphinscheduler-api/pom.xml +++ b/dolphinscheduler-api/pom.xml @@ -152,6 +152,10 @@ javax.servlet servlet-api + + org.apache.curator + curator-client + @@ -244,4 +248,4 @@ - \ No newline at end of file + -- GitLab