You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by JoshRosen <gi...@git.apache.org> on 2016/01/08 07:38:26 UTC

[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/10659

    [SPARK-4628][BUILD] Remove all non-Maven-central repositories from build

    This patch removes all non-Maven-central repositories from Spark's build, thereby avoiding any risk of future build-breaks due to us accidentally depending on an artifact which is not present in an immutable public Maven repository.
    
    I tested this by running
    
    ```
    build/mvn \
            -Phive \
            -Phive-thriftserver \
            -Pkinesis-asl \
            -Pspark-ganglia-lgpl \
            -Pyarn \
            dependency:go-offline
    ```
    
    inside of a fresh Ubuntu Docker container with no Ivy or Maven caches (I did a similar test for SBT).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark SPARK-4628

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10659.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10659
    
----
commit ecb6355e0b44d316522e56c1596d0460a1a99a49
Author: Josh Rosen <jo...@databricks.com>
Date:   2016-01-08T03:11:16Z

    Remove non-longer-existent Hive staging repository.

commit 09d02f5703ed6ca2bf096d2cef21181098f478e3
Author: Josh Rosen <jo...@databricks.com>
Date:   2016-01-08T03:46:59Z

    Remove all non-Maven-central repositories.

commit a7e4d513424f51149fcde991a1a0348762264875
Author: Josh Rosen <jo...@databricks.com>
Date:   2016-01-08T03:48:12Z

    Delete SBT plugin resolvers.

commit e125f50f84e09bc3176f5d0bb96cab2f4dbc29a1
Author: Josh Rosen <jo...@databricks.com>
Date:   2016-01-08T04:14:42Z

    Override default SBT resolvers.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49162081
  
    --- Diff: pom.xml ---
    @@ -226,93 +226,6 @@
             <enabled>false</enabled>
           </snapshots>
         </repository>
    -    <repository>
    -      <id>apache-repo</id>
    -      <name>Apache Repository</name>
    -      <url>https://repository.apache.org/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>jboss-repo</id>
    -      <name>JBoss Repository</name>
    -      <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>mqtt-repo</id>
    -      <name>MQTT Repository</name>
    -      <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>cloudera-repo</id>
    -      <name>Cloudera Repository</name>
    -      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>spark-hive-staging</id>
    -      <name>Staging Repo for Hive 1.2.1 (Spark Version)</name>
    -      <url>https://oss.sonatype.org/content/repositories/orgspark-project-1113</url>
    --- End diff --
    
    This staging repo no longer exists.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170169877
  
    **[Test build #49029 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/49029/consoleFull)** for PR 10659 at commit [`e125f50`](https://github.com/apache/spark/commit/e125f50f84e09bc3176f5d0bb96cab2f4dbc29a1).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170138174
  
    Jenkins, retest this please.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-169926956
  
    **[Test build #49006 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/49006/consoleFull)** for PR 10659 at commit [`e125f50`](https://github.com/apache/spark/commit/e125f50f84e09bc3176f5d0bb96cab2f4dbc29a1).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170195406
  
    Looks great. I'm going to merge this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/10659


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49162068
  
    --- Diff: external/mqtt/pom.xml ---
    @@ -51,7 +51,7 @@
         <dependency>
           <groupId>org.eclipse.paho</groupId>
           <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
    -      <version>1.0.1</version>
    +      <version>1.0.2</version>
    --- End diff --
    
    The MQTT artifact was the one which prompted the creation of https://issues.apache.org/jira/browse/SPARK-4628 in the first place. This newer version is published to Maven Central and has no external dependencies.
    
    @pwendell, interestingly enough this change does not cause `dev/deps` checks to fail because `external/` projects aren't tracked there.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-169927053
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49006/
    Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170170013
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49029/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-169911960
  
    **[Test build #49006 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/49006/consoleFull)** for PR 10659 at commit [`e125f50`](https://github.com/apache/spark/commit/e125f50f84e09bc3176f5d0bb96cab2f4dbc29a1).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49173391
  
    --- Diff: pom.xml ---
    @@ -226,93 +226,6 @@
             <enabled>false</enabled>
           </snapshots>
         </repository>
    -    <repository>
    -      <id>apache-repo</id>
    -      <name>Apache Repository</name>
    -      <url>https://repository.apache.org/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>jboss-repo</id>
    -      <name>JBoss Repository</name>
    -      <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>mqtt-repo</id>
    -      <name>MQTT Repository</name>
    -      <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>cloudera-repo</id>
    -      <name>Cloudera Repository</name>
    -      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    --- End diff --
    
    The only reason to keep these is so that someone can make a build with, say, `-Dhadoop.version=2.6.0-cdh5.6.0` without having to configure the repo in their own `settings.xml`. I personally favor removing it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170170011
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49162127
  
    --- Diff: pom.xml ---
    @@ -226,93 +226,6 @@
             <enabled>false</enabled>
           </snapshots>
         </repository>
    -    <repository>
    -      <id>apache-repo</id>
    -      <name>Apache Repository</name>
    -      <url>https://repository.apache.org/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>jboss-repo</id>
    -      <name>JBoss Repository</name>
    -      <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>mqtt-repo</id>
    -      <name>MQTT Repository</name>
    -      <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>cloudera-repo</id>
    -      <name>Cloudera Repository</name>
    -      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    --- End diff --
    
    @srowen do we still need this?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49162103
  
    --- Diff: pom.xml ---
    @@ -226,93 +226,6 @@
             <enabled>false</enabled>
           </snapshots>
         </repository>
    -    <repository>
    -      <id>apache-repo</id>
    -      <name>Apache Repository</name>
    -      <url>https://repository.apache.org/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>jboss-repo</id>
    -      <name>JBoss Repository</name>
    -      <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>mqtt-repo</id>
    -      <name>MQTT Repository</name>
    -      <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    --- End diff --
    
    The updated version of this artifact is now in Maven Central.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-170141837
  
    **[Test build #49029 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/49029/consoleFull)** for PR 10659 at commit [`e125f50`](https://github.com/apache/spark/commit/e125f50f84e09bc3176f5d0bb96cab2f4dbc29a1).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-centr...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10659#discussion_r49162171
  
    --- Diff: pom.xml ---
    @@ -226,93 +226,6 @@
             <enabled>false</enabled>
           </snapshots>
         </repository>
    -    <repository>
    -      <id>apache-repo</id>
    -      <name>Apache Repository</name>
    -      <url>https://repository.apache.org/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>jboss-repo</id>
    -      <name>JBoss Repository</name>
    -      <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>mqtt-repo</id>
    -      <name>MQTT Repository</name>
    -      <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    -      <releases>
    -        <enabled>true</enabled>
    -      </releases>
    -      <snapshots>
    -        <enabled>false</enabled>
    -      </snapshots>
    -    </repository>
    -    <repository>
    -      <id>cloudera-repo</id>
    -      <name>Cloudera Repository</name>
    -      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    --- End diff --
    
    If it turns out that we only need this for custom vendor-specific builds, I wonder whether we can move these repositories to a new profile.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-4628][BUILD] Remove all non-Maven-Centr...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/10659#issuecomment-169927052
  
    Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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