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

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


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 959a7ec  [MINOR][CORE] Use https for bintray spark-packages repository
959a7ec is described below

commit 959a7ecb9a1d433bed18f82c4c3354806f1329c7
Author: Jungtaek Lim (HeartSaVioR) <kabh...@gmail.com>
AuthorDate: Tue Mar 12 18:01:16 2019 -0500

    [MINOR][CORE] Use https for bintray spark-packages repository
    
    ## What changes were proposed in this pull request?
    
    This patch changes the schema of url from http to https for bintray 
spark-packages repository. Looks like we already changed the schema of 
repository url for pom.xml but missed inside the code.
    
    ## How was this patch tested?
    
    Manually ran the `--package` via `./bin/spark-shell --verbose  --packages 
"RedisLabs:spark-redis:0.3.2"`
    
    ```
    ...
    Ivy Default Cache set to: /Users/jlim/.ivy2/cache
    The jars for the packages stored in: /Users/jlim/.ivy2/jars
    :: loading settings :: url = 
jar:file:/Users/jlim/WorkArea/ScalaProjects/spark/dist/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
    RedisLabs#spark-redis added as a dependency
    :: resolving dependencies :: 
org.apache.spark#spark-submit-parent-2fee2e18-7832-4a4d-9e97-7b3d0fef766d;1.0
        confs: [default]
        found RedisLabs#spark-redis;0.3.2 in spark-packages
        found redis.clients#jedis;2.7.2 in central
        found org.apache.commons#commons-pool2;2.3 in central
    downloading 
https://dl.bintray.com/spark-packages/maven/RedisLabs/spark-redis/0.3.2/spark-redis-0.3.2.jar
 ...
        [SUCCESSFUL ] RedisLabs#spark-redis;0.3.2!spark-redis.jar (824ms)
    downloading 
https://repo1.maven.org/maven2/redis/clients/jedis/2.7.2/jedis-2.7.2.jar ...
        [SUCCESSFUL ] redis.clients#jedis;2.7.2!jedis.jar (576ms)
    downloading 
https://repo1.maven.org/maven2/org/apache/commons/commons-pool2/2.3/commons-pool2-2.3.jar
 ...
        [SUCCESSFUL ] org.apache.commons#commons-pool2;2.3!commons-pool2.jar 
(150ms)
    :: resolution report :: resolve 4586ms :: artifacts dl 1555ms
        :: modules in use:
        RedisLabs#spark-redis;0.3.2 from spark-packages in [default]
        org.apache.commons#commons-pool2;2.3 from central in [default]
        redis.clients#jedis;2.7.2 from central in [default]
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   3   |   3   |   3   |   0   ||   3   |   3   |
        ---------------------------------------------------------------------
    ```
    
    Closes #24061 from HeartSaVioR/MINOR-use-https-to-bintray-repository.
    
    Authored-by: Jungtaek Lim (HeartSaVioR) <kabh...@gmail.com>
    Signed-off-by: Sean Owen <sean.o...@databricks.com>
    (cherry picked from commit f57af2286f85bf67706e14fecfbfd9ef034c2927)
    Signed-off-by: Sean Owen <sean.o...@databricks.com>
---
 core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala 
b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
index 15df51b..1801268 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
@@ -1074,7 +1074,7 @@ private[spark] object SparkSubmitUtils {
     val sp: IBiblioResolver = new IBiblioResolver
     sp.setM2compatible(true)
     sp.setUsepoms(true)
-    sp.setRoot("http://dl.bintray.com/spark-packages/maven";)
+    sp.setRoot("https://dl.bintray.com/spark-packages/maven";)
     sp.setName("spark-packages")
     cr.add(sp)
     cr


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

Reply via email to