Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1928

hive show databases retrun all database when udf database policy set to *

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.6.3, 0.7.1
    • None
    • plugins
    • None

    Description

      Hive didn't division with 'create' and 'udf create'. We can use hive udf policy 'database

      {USER}, and {USER}

      give create permission' for permanent type because dbname has a value. But for temporary udf dbname always return empty. Workaround, we can set 'database *', but 'show databases' would return all database, it isn't we want. I remove the permission checking for temporary udf. Temporary udf's scope is session, so it won't affect other user.

      Attachments

        1. RANGER-1928.001.patch
          1 kB
          chuanjie.duan

        Activity

          People

            Unassigned Unassigned
            chuanjie.duan chuanjie.duan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: