[ 
https://issues.apache.org/jira/browse/SPARK-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043076#comment-14043076
 ] 

Prashant Sharma commented on SPARK-2265:
----------------------------------------

Those jars are already on its classpath. Take a look at 
https://github.com/apache/spark/blob/master/project/SparkBuild.scala#L635. 

And I have also observed, that it fails to instrument some of them in the logs.
{noformat}
Unable to load:org/apache/spark/streaming/flume/FlumeEventServer.class
Unable to load:org/apache/spark/streaming/mqtt/MQTTReceiver$$anon$1.class
Unable to load:org/apache/spark/streaming/twitter/TwitterReceiver$$anon$1.class
{noformat}

> MIMA excludes aren't generated for external modules
> ---------------------------------------------------
>
>                 Key: SPARK-2265
>                 URL: https://issues.apache.org/jira/browse/SPARK-2265
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Project Infra
>            Reporter: Patrick Wendell
>            Assignee: Prashant Sharma
>             Fix For: 1.1.0
>
>
> The Flume, etc code doesn't get considered when generating the MIMA excludes. 
> I think it could work to just set SPARK_CLASSPATH with the package jars for 
> those modules before running GenerateMimaIgnore so the end up visible to the 
> class loader.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to