You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2021/04/22 02:53:01 UTC

[spark] branch branch-3.0 updated: [SPARK-35178][BUILD][FOLLOWUP][3.1] Update Zinc argument

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new b695ece  [SPARK-35178][BUILD][FOLLOWUP][3.1] Update Zinc argument
b695ece is described below

commit b695ecec5991745f1e61206fb3f5a69f159db201
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Wed Apr 21 19:51:57 2021 -0700

    [SPARK-35178][BUILD][FOLLOWUP][3.1] Update Zinc argument
    
    ### What changes were proposed in this pull request?
    
    This is a follow-up to adjust zinc installation with the new parameter.
    
    ### Why are the changes needed?
    
    Currently, zinc is ignored.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually.
    
    **BEFORE**
    ```
    $ build/mvn clean
    exec: curl --silent --show-error -L https://downloads.lightbend.com/zinc/0.3.15
    tar: Error opening archive: Unrecognized archive format
    exec: curl --silent --show-error -L https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz
    exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz?action=download
    build/mvn: line 149: /Users/dongjoon/APACHE/spark-merge/build/zinc-0.3.15/bin/zinc: No such file or directory
    build/mvn: line 151: /Users/dongjoon/APACHE/spark-merge/build/zinc-0.3.15/bin/zinc: No such file or directory
    Using `mvn` from path: /Users/dongjoon/APACHE/spark-merge/build/apache-maven-3.6.3/bin/mvn
    [INFO] Scanning for projects...
    ```
    
    **AFTER**
    ```
    $ build/mvn clean
    exec: curl --silent --show-error -L https://downloads.lightbend.com/zinc/0.3.15/zinc-0.3.15.tgz
    exec: curl --silent --show-error -L https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz
    exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz?action=download
    Using `mvn` from path: /Users/dongjoon/PRS/SPARK-PR-32282/build/apache-maven-3.6.3/bin/mvn
    [INFO] Scanning for projects...
    ```
    
    Closes #32282 from dongjoon-hyun/SPARK-35178.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit b41624b439639206df9cbc0e95a6c61432fefd8e)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 build/mvn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/mvn b/build/mvn
index 3516204..f33dedc 100755
--- a/build/mvn
+++ b/build/mvn
@@ -114,7 +114,7 @@ install_zinc() {
     local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.lightbend.com}
 
     install_app \
-      "${TYPESAFE_MIRROR}/zinc/${ZINC_VERSION}" \
+      "${TYPESAFE_MIRROR}/zinc/${ZINC_VERSION}/zinc-${ZINC_VERSION}.tgz" \
       "zinc-${ZINC_VERSION}.tgz" \
       "${zinc_path}"
     ZINC_BIN="${_DIR}/${zinc_path}"

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org