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

Beeline#addlocaldriver - reduce classpath scanning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      There is a classpath scanning machinery inside ClassNameCompleter.

      I think the sole purpose of these things is to scan for jdbc drivers...(but not entirely sure)

      if it is indeed looking for jdbc drivers..then possibly this can be removed without any issues because modern jdbc drivers usually advertise their driver as a service-loadable class for java.sql.Driver

      http://www.onjava.com/2006/08/02/jjdbc-4-enhancements-in-java-se-6.html
      Auto-Loading of JDBC Driver

      Attachments

        1. HIVE-15053.1.patch
          21 kB
          Zoltan Haindrich
        2. HIVE-15053.1.patch
          21 kB
          Zoltan Haindrich
        3. HIVE-15053.1.patch
          21 kB
          Zoltan Haindrich
        4. HIVE-15053.2.patch
          21 kB
          Zoltan Haindrich
        5. HIVE-15053.3.patch
          21 kB
          Zoltan Haindrich

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: