Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12852 LLAP: whitelist-based UDF support
  3. HIVE-12855

LLAP: add checks when resolving UDFs to enforce whitelist

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      Currently, adding a temporary UDF and calling LLAP with it (bypassing the LlapDecider check, I did it by just modifying the source) only fails because the class could not be found. If the UDF was accessible to LLAP, it would execute. Inside the daemon, UDF instantiation should fail for custom UDFs (and only succeed for whitelisted custom UDFs, once that is implemented).

      Attachments

        1. HIVE-12855.01.patch
          22 kB
          Sergey Shelukhin
        2. HIVE-12855.02.patch
          22 kB
          Sergey Shelukhin
        3. HIVE-12855.03.patch
          24 kB
          Sergey Shelukhin
        4. HIVE-12855.04.patch
          24 kB
          Sergey Shelukhin
        5. HIVE-12855.part.patch
          23 kB
          Sergey Shelukhin

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              sershe Sergey Shelukhin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: