You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2015/09/03 21:56:41 UTC

spark git commit: [SPARK-9596] [SQL] treat hadoop classes as shared one in IsolatedClientLoader

Repository: spark
Updated Branches:
  refs/heads/master 67580f1f5 -> 3abc0d512


[SPARK-9596] [SQL] treat hadoop classes as shared one in IsolatedClientLoader

https://issues.apache.org/jira/browse/SPARK-9596

Author: WangTaoTheTonic <wa...@huawei.com>

Closes #7931 from WangTaoTheTonic/SPARK-9596.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3abc0d51
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3abc0d51
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3abc0d51

Branch: refs/heads/master
Commit: 3abc0d512541158d11b181e2d9fa126d1371d5c0
Parents: 67580f1
Author: WangTaoTheTonic <wa...@huawei.com>
Authored: Thu Sep 3 12:56:36 2015 -0700
Committer: Michael Armbrust <mi...@databricks.com>
Committed: Thu Sep 3 12:56:36 2015 -0700

----------------------------------------------------------------------
 .../org/apache/spark/sql/hive/client/IsolatedClientLoader.scala     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3abc0d51/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
index 7856037..1fe4cba 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
@@ -131,6 +131,7 @@ private[hive] class IsolatedClientLoader(
     name.contains("slf4j") ||
     name.contains("log4j") ||
     name.startsWith("org.apache.spark.") ||
+    (name.startsWith("org.apache.hadoop.") && !name.startsWith("org.apache.hadoop.hive.")) ||
     name.startsWith("scala.") ||
     (name.startsWith("com.google") && !name.startsWith("com.google.cloud")) ||
     name.startsWith("java.lang.") ||


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org