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 2020/05/27 01:22:08 UTC

[spark] branch master updated: [SPARK-31821][BUILD] Remove mssql-jdbc dependencies from Hadoop 3.2 profile

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8f1d774  [SPARK-31821][BUILD] Remove mssql-jdbc dependencies from Hadoop 3.2 profile
8f1d774 is described below

commit 8f1d77488c07a50b90a113f7faacd3d96f25646b
Author: Gabor Somogyi <ga...@gmail.com>
AuthorDate: Tue May 26 18:21:22 2020 -0700

    [SPARK-31821][BUILD] Remove mssql-jdbc dependencies from Hadoop 3.2 profile
    
    ### What changes were proposed in this pull request?
    There is an unnecessary dependency for `mssql-jdbc`. In this PR I've removed it.
    
    ### Why are the changes needed?
    Unnecessary dependency.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    
    Pass the Jenkins with the following configuration.
    - [x] Pass the dependency test.
    - [x] SBT with Hadoop-3.2 (https://github.com/apache/spark/pull/28640#issuecomment-634192512)
    - [ ] Maven with Hadoop-3.2
    
    Closes #28640 from gaborgsomogyi/SPARK-31821.
    
    Authored-by: Gabor Somogyi <ga...@gmail.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 dev/deps/spark-deps-hadoop-3.2-hive-2.3 | 1 -
 pom.xml                                 | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev/deps/spark-deps-hadoop-3.2-hive-2.3 b/dev/deps/spark-deps-hadoop-3.2-hive-2.3
index 3c3ce2d..b5a10b5 100644
--- a/dev/deps/spark-deps-hadoop-3.2-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3.2-hive-2.3
@@ -183,7 +183,6 @@ metrics-jmx/4.1.1//metrics-jmx-4.1.1.jar
 metrics-json/4.1.1//metrics-json-4.1.1.jar
 metrics-jvm/4.1.1//metrics-jvm-4.1.1.jar
 minlog/1.3.0//minlog-1.3.0.jar
-mssql-jdbc/6.2.1.jre7//mssql-jdbc-6.2.1.jre7.jar
 netty-all/4.1.47.Final//netty-all-4.1.47.Final.jar
 nimbus-jose-jwt/4.41.1//nimbus-jose-jwt-4.41.1.jar
 objenesis/2.5.1//objenesis-2.5.1.jar
diff --git a/pom.xml b/pom.xml
index fd4cebc..deaf87f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1357,6 +1357,10 @@
             <groupId>com.zaxxer</groupId>
             <artifactId>HikariCP-java7</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>com.microsoft.sqlserver</groupId>
+            <artifactId>mssql-jdbc</artifactId>
+          </exclusion>
         </exclusions>
       </dependency>
       <dependency>


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