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

Adam Szita commented on PIG-5294:
---------------------------------

Some unit test related targets should not depend on {{jar}}, but rather on 
{{jar-simple}} instead because:
* There is no point of compiling against two versions of Spark when at the end 
we only use one to run the tests with
* There is no way to override what Spark version we want, it will always be 
spark1

Please find the fix in [^PIG-5294.0.patch]

> Spark unit tests are always run in spark1 mode
> ----------------------------------------------
>
>                 Key: PIG-5294
>                 URL: https://issues.apache.org/jira/browse/PIG-5294
>             Project: Pig
>          Issue Type: Bug
>          Components: build, spark
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>         Attachments: PIG-5294.0.patch
>
>
> The ant target {{test}} depends on {{jar}} which builds Pig with 
> sparkversion=2 then sparkversion=1, hence we will always run the tests with 
> Spark 1 (1.6.1 currently to be exact)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to