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

create function using jar does not work with sql std authorization

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Authorization
    • Labels:
      None
    • Flags:
      Patch

      Description

      create function xxx as 'xxx' using jar 'file://foo.jar' 

      gives error code for need of accessing a local foo.jar resource with ADMIN privileges. Same for HDFS (DFS_URI) .

      problem is that the semantic analysis enforces the ADMIN privilege for write but the jar is clearly input not output.

      Patch und Testcase appendend.

        Attachments

        1. HIVE-11175.1.patch
          4 kB
          Olaf Flebbe

          Issue Links

            Activity

              People

              • Assignee:
                oflebbe Olaf Flebbe
                Reporter:
                oflebbe Olaf Flebbe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: