Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13046

DependencyResolver should not lowercase the dependency URI's authority

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      When using ADD JAR ivy://... to add a jar version 1.2.3-SNAPSHOT, Hive will lowercase it to 1.2.3-snapshot due to:

      DependencyResolver.java#84
      String[] authorityTokens = authority.toLowerCase().split(":");
      

      We should not .lowerCase().

      RB: https://reviews.apache.org/r/43513

      Attachments

        1. HIVE-13046.1.patch
          0.8 kB
          Anthony Hsu
        2. HIVE-13046.2.patch
          0.8 kB
          Anthony Hsu

        Issue Links

          Activity

            People

              erwaman Anthony Hsu
              erwaman Anthony Hsu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: