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

metastore api should consider privileges to be case insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Authorization
    • None

    Description

      Metastore api has some code that considers privileges to be case sensitive.
      This needs to be corrected.
      For example in ObjectStore.grantPrivileges, the following check does a case sensitive comparison -

      for (String privilege : privs) {
                    if (privSet.contains(privilege)) {
                      throw new InvalidObjectException(privilege
                          + " is already granted by " + grantor);
                    }
      

      Attachments

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: