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

DefaultHiveAuthorizationProvider should not initialize a new HiveConf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Configuration
    • None

    Description

      During a HS2 connection, every SessionState got initializes a new DefaultHiveAuthorizationProvider object (on stock configs).

      In turn, DefaultHiveAuthorizationProvider carries a new HiveConf(…) that may prove too expensive, and unnecessary to do, since SessionState itself sends in a fully applied HiveConf to it in the first place.

      Attachments

        1. HIVE-6437.1.patch.txt
          4 kB
          Navis Ryu
        2. HIVE-6437.2.patch.txt
          27 kB
          Navis Ryu
        3. HIVE-6437.3.patch.txt
          51 kB
          Navis Ryu
        4. HIVE-6437.4.patch.txt
          50 kB
          Navis Ryu
        5. HIVE-6437.5.patch.txt
          52 kB
          Navis Ryu
        6. HIVE-6437.6.patch.txt
          52 kB
          Navis Ryu
        7. HIVE-6437.7.patch.txt
          54 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: