Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34506

ADD JAR with ivy coordinates should be compatible with Hive transitive behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • Spark Core
    • None

    Description

      SPARK-33084 added the ability to use ivy coordinates with `SparkContext.addJar`. PR #29966 claims to mimic Hive behavior although I found a few cases where it doesn't

      1) The default value of the transitive parameter is false, both in case of parameter not being specified in coordinate or parameter value being invalid. The Hive behavior is transitive is true if not specified in the coordinate and false for invalid values. Also, regardless of Hive, I think a default of true for the transitive parameter also matches ivy's own defaults.

      2) The parameter value for transitive parameter is regarded as case-sensitive based on the understanding that Hive behavior is case-sensitive. However, this is not correct, Hive treats the parameter value case-insensitively.

      Attachments

        Issue Links

          Activity

            People

              shardulm Shardul Mahadik
              shardulm Shardul Mahadik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: