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

Sean Owen commented on SPARK-9607:
----------------------------------

I think you're probably right, go ahead with a PR. Simply qualifying the paths 
later with {{_DIR}} should work.

> Incorrect zinc check in build/mvn
> ---------------------------------
>
>                 Key: SPARK-9607
>                 URL: https://issues.apache.org/jira/browse/SPARK-9607
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.4.1
>            Reporter: Ryan Williams
>            Priority: Minor
>
> [This 
> check|https://github.com/apache/spark/blob/5a23213c148bfe362514f9c71f5273ebda0a848a/build/mvn#L84-L85]
>  in {{build/mvn}} attempts to determine whether {{zinc}} has been installed, 
> but it fails to add the prefix {{build/}} to the path, so it always thinks 
> that {{zinc}} is not installed, sets {{ZINC_INSTALL_FLAG}} to {{1}}, and 
> attempts to install {{zinc}}.
> This error manifests later because [the {{zinc -shutdown}} and {{zinc 
> -start}} 
> commands|https://github.com/apache/spark/blob/5a23213c148bfe362514f9c71f5273ebda0a848a/build/mvn#L140-L143]
>  are always run, even if zinc was not installed and is running.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to