GitHub user yaooqinn opened a pull request:
https://github.com/apache/spark/pull/20145
[SPARK-22950]Handle ChildFirstURLClassLoader's parent
## What changes were proposed in this pull request?
ChildFirstClassLoader's parent is set to null, so we can't get jars from
its parent. This will cause ClassNotFoundException during HiveClient
initialization with builtin hive jars, where we may should use spark context
loader instead.
## How was this patch tested?
add new ut
cc @cloud-fan @gatorsmile
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yaooqinn/spark SPARK-22950
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20145.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20145
----
commit 7cb0c446d9908ff53f3106d7a9446daa497bdc0f
Author: Kent Yao <yaooqinn@...>
Date: 2018-01-04T02:14:46Z
child first classpath first has no regular parent
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]