[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.
This commit is contained in:
WangTaoTheTonic 2015-09-03 12:56:36 -07:00 committed by Michael Armbrust
parent 67580f1f57
commit 3abc0d5125

View file

@ -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.") ||