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

normalize struct Role in metastore thrift interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Metastore, Thrift API
    • None

    Description

      As discussed in HIVE-5931, it will be cleaner to have the information about Role to role member mapping removed from the Role object, as it is not part of a logical Role. This information not relevant for actions such as creating a Role.
      As part of this change get_role_grants_for_principal api will be added, so that it can be used in place of list_roles, when role mapping information is desired.

      Attachments

        1. HIVE-6547.1.patch
          1.07 MB
          Thejas Nair
        2. HIVE-6547.nothriftgen.1.patch
          57 kB
          Thejas Nair
        3. HIVE-6547.thriftapi.2.patch
          2 kB
          Thejas Nair
        4. HIVE-6547.thriftapi.patch
          2 kB
          Thejas Nair

        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:
                Resolved: