spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marmb...@apache.org
Subject spark git commit: [SPARK-9596] [SQL] treat hadoop classes as shared one in IsolatedClientLoader
Date Thu, 03 Sep 2015 19:56:41 GMT
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 <wangtao111@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 <wangtao111@huawei.com>
Authored: Thu Sep 3 12:56:36 2015 -0700
Committer: Michael Armbrust <michael@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


Mime
View raw message