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

Create per-session function registry

    Details

    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      Marked as incompatible because of a bug -

      This patch broke automatic loading of externally added permanent functions in HiveServer2. This only affects multi-HS2 setup, where only one HS2 adds the function; or functions added from Hive CLI bypassing HS2. In such cases, HS2 will not be able to run a query with the new function.

      Additionally, RELOAD FUNCTION call has been broken by this patch.
      Workaround:
      The HS2s that don't have the function need to be restarted.
      Show
      Marked as incompatible because of a bug - This patch broke automatic loading of externally added permanent functions in HiveServer2. This only affects multi-HS2 setup, where only one HS2 adds the function; or functions added from Hive CLI bypassing HS2. In such cases, HS2 will not be able to run a query with the new function. Additionally, RELOAD FUNCTION call has been broken by this patch. Workaround: The HS2s that don't have the function need to be restarted.

      Description

      Currently the function registry is shared resource and could be overrided by other users when using HiveServer. If per-session function registry is provided, this situation could be prevented.

        Attachments

        1. HIVE-2573.1.patch.txt
          46 kB
          Navis
        2. HIVE-2573.2.patch.txt
          57 kB
          Navis
        3. HIVE-2573.3.patch.txt
          52 kB
          Navis
        4. ASF.LICENSE.NOT.GRANTED--HIVE-2573.D3231.1.patch
          54 kB
          Phabricator
        5. HIVE-2573.4.patch.txt
          95 kB
          Navis
        6. HIVE-2573.5.patch
          99 kB
          Jason Dere
        7. HIVE-2573.6.patch
          114 kB
          Jason Dere
        8. HIVE-2573.7.patch
          120 kB
          Jason Dere
        9. HIVE-2573.8.patch.txt
          116 kB
          Navis
        10. HIVE-2573.9.patch.txt
          114 kB
          Navis
        11. HIVE-2573.10.patch.txt
          141 kB
          Navis
        12. HIVE-2573.11.patch.txt
          147 kB
          Navis
        13. HIVE-2573.12.patch.txt
          144 kB
          Jason Dere
        14. HIVE-2573.13.patch.txt
          155 kB
          Navis
        15. HIVE-2573.14.patch.txt
          166 kB
          Navis
        16. HIVE-2573.15.patch.txt
          166 kB
          Navis

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis
                Reporter:
                navis Navis
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: