You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2015/08/04 20:56:05 UTC

[jira] [Created] (SPARK-9607) Incorrect zinc check in build/mvn

Ryan Williams created SPARK-9607:
------------------------------------

             Summary: 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org