[
https://issues.apache.org/jira/browse/SPARK-9607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654224#comment-14654224
]
Sean Owen commented on SPARK-9607:
----------------------------------
Hm, but {{_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"}} at the
start should set the working dir to {{build/}}? that seems to be the intent. Is
that the cause or just other fallout from SPARK-9608?
> 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]