Dongjoon Hyun created SPARK-20708:
-------------------------------------
Summary: Make `addExclusionRules` up-to-date
Key: SPARK-20708
URL: https://issues.apache.org/jira/browse/SPARK-20708
Project: Spark
Issue Type: Bug
Components: Spark Shell, Spark Submit
Affects Versions: 2.1.1, 2.0.2
Reporter: Dongjoon Hyun
Since SPARK-9263, `resolveMavenCoordinates` ignores Spark and Spark's
dependencies by using `addExclusionRules`. This PR aims to make
`addExclusionRules` up-to-date to neglect correctly because it fails to neglect
some components like the following.
*mllib (correct)*
{code}
$ bin/spark-shell --packages org.apache.spark:spark-mllib_2.11:2.1.1
...
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 0 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
{code}
*mllib-local (wrong)*
{code}
$ bin/spark-shell --packages org.apache.spark:spark-mllib-local_2.11:2.1.1
...
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 15 | 2 | 2 | 0 || 15 | 2 |
---------------------------------------------------------------------
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]