From 208fbca102c269c52eaf84bdde9838474ded276b Mon Sep 17 00:00:00 2001
From: Marcelo Vanzin <vanzin@cloudera.com>
Date: Thu, 3 Sep 2015 15:10:30 -0700
Subject: [PATCH] [SPARK-10421] [BUILD] Exclude curator artifacts from tachyon
 dependencies.

This avoids them being mistakenly pulled instead of the newer ones that
Spark actually uses. Spark only depends on these artifacts transitively,
so sometimes maven just decides to pick tachyon's version of the
dependency for whatever reason.

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #8577 from vanzin/SPARK-10421.
---
 core/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/core/pom.xml b/core/pom.xml
index 4f79d71bf8..a46292c13b 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -272,6 +272,14 @@
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-client</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.apache.curator</groupId>
+          <artifactId>curator-client</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.curator</groupId>
+          <artifactId>curator-framework</artifactId>
+        </exclusion>
         <exclusion>
           <groupId>org.apache.curator</groupId>
           <artifactId>curator-recipes</artifactId>
-- 
GitLab