Uh oh!
There was an error while loading. Please reload this page.
[SPARK-26254][CORE] Extract Hive + Kafka dependencies from Core. - #23499
[SPARK-26254][CORE] Extract Hive + Kafka dependencies from Core.#23499gaborgsomogyi wants to merge 10 commits into
Conversation
SparkQA
commented
Jan 9, 2019
Test build #100969 has finished for PR 23499 at commit
|
cd7db2f to
47ea157CompareSparkQA
commented
Jan 9, 2019
Test build #100970 has finished for PR 23499 at commit
|
SparkQA
commented
Jan 9, 2019
Test build #100975 has finished for PR 23499 at commit
|
SparkQA
commented
Jan 9, 2019
Test build #100983 has finished for PR 23499 at commit
|
SparkQA
commented
Jan 9, 2019
Test build #100984 has finished for PR 23499 at commit
|
gaborgsomogyi
commented
Jan 10, 2019
retest this please |
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Jan 10, 2019
Test build #101021 has finished for PR 23499 at commit
|
gatorsmile
commented
Jan 14, 2019
In Spark 3.0, shading all libraries that Spark depends is the direction we discussed in the mailing list. @gaborgsomogyi Thus, could you change your PR based on our direction? Thanks! |
vanzin
commented
Jan 14, 2019
This is a refactoring so that spark-core doesn't depend on Hive and Kafka at compile time. It's not really related to shading, and it would be distracting to mix both in this PR. If a decision has been made about shading everything (I don't remember a vote), then there will be a lot of work that is unrelated to this PR to get there. |
srowen
commented
Jan 14, 2019
(Agree that shading is a big, important, but separate change to be considered) |
gaborgsomogyi
commented
Jan 14, 2019
@gatorsmile happy to handle this problem in the streaming/kafka area in separate PRs. I would appreciate if you can point the details and the vote to pick up the topic. |
felixcheung
commented
Jan 15, 2019
via email
(I’d like to know about shading too) |
Uh oh!
There was an error while loading. Please reload this page.
| def obtainDelegationTokens( | ||
| hadoopConf: Configuration, | ||
| sparkConf: SparkConf, | ||
| fileSystems: Set[FileSystem], |
There was a problem hiding this comment.
This is a bit odd, and ultimately I think that YarnSparkHadoopUtil.hadoopFSsToAccess should be used for everybody (a.k.a. moved to HadoopFSDelegationTokenProvider), but that should be a separate change.
There was a problem hiding this comment.
Felt the same when changed but didn't have good solution. Good suggestion, will file a jira and resolve it.
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Jan 21, 2019
Test build #101480 has finished for PR 23499 at commit
|
dongjoon-hyun
commented
Jan 22, 2019
cc @wangyum since he is working on upgrading Hive dependency. |
SparkQA
commented
Jan 23, 2019
Test build #101597 has finished for PR 23499 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Jan 24, 2019
Test build #101638 has finished for PR 23499 at commit
|
SparkQA
commented
Jan 25, 2019
Test build #101673 has finished for PR 23499 at commit
|
SparkQA
commented
Jan 25, 2019
Test build #101676 has finished for PR 23499 at commit
|
vanzin
commented
Jan 25, 2019
Merging to master. |
## What changes were proposed in this pull request? There are ugly provided dependencies inside core for the following: * Hive * Kafka In this PR I've extracted them out. This PR contains the following: * Token providers are now loaded with service loader * Hive token provider moved to hive project * Kafka token provider extracted into a new project ## How was this patch tested? Existing + newly added unit tests. Additionally tested on cluster. Closesapache#23499 from gaborgsomogyi/SPARK-26254. Authored-by: Gabor Somogyi <gabor.g.somogyi@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
What changes were proposed in this pull request?
There are ugly provided dependencies inside core for the following:
In this PR I've extracted them out. This PR contains the following:
How was this patch tested?
Existing + newly added unit tests.
Additionally tested on cluster.