[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:
parent
67580f1f57
commit
3abc0d5125
|
@ -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.") ||
|
||||
|
|
Loading…
Reference in a new issue