Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Authorization
    • Labels:
      None
    • Release Note:
      A new property is added in HiveConf. {{hive.users.in.admin.role}} An admin can provide a comma separated list of users which will be added to admin role when metastore starts up. More users can still be added later on.

      Description

      SUPERUSER and PUBLIC are two roles that are always present, these need to be added automatically on metastore startup. This would be similar to creation of the "default" database from HMSHandler.init().

      A config param in hive-site.xml will be used to specify the list of users who belong to the SUPERUSER role.

      1. HIVE-5959.2.patch
        9 kB
        Ashutosh Chauhan
      2. HIVE-5959.3.patch
        10 kB
        Ashutosh Chauhan
      3. HIVE-5959.5.patch
        11 kB
        Ashutosh Chauhan
      4. HIVE-5959.6.patch
        8 kB
        Ashutosh Chauhan
      5. HIVE-5959.7.patch
        8 kB
        Ashutosh Chauhan
      6. HIVE-5959.patch
        8 kB
        Ashutosh Chauhan

        Issue Links

          Activity

          Thejas M Nair made changes -
          Remaining Estimate 72h [ 259200 ] 0h [ 0 ]
          Time Spent 24h [ 86400 ]
          Worklog Id 15936 [ 15936 ]
          Ashutosh Chauhan made changes -
          Release Note A new property is added in HiveConf. {{hive.users.in.admin.role}} An admin can provide a comma separated list of users which will be added to admin role when metastore starts up. More users can still be added later on.
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12324986 ]
          Resolution Fixed [ 1 ]
          Ashutosh Chauhan made changes -
          Summary SQL std auth - bootstrap SUPERUSER, PUBLIC roles SQL std auth - bootstrap SUPERUSER roles
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.7.patch [ 12626051 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ashutosh Chauhan made changes -
          Link This issue blocks HIVE-5944 [ HIVE-5944 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.6.patch [ 12625894 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.5.patch [ 12625774 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.3.patch [ 12625687 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.2.patch [ 12625668 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Ashutosh Chauhan [ ashutoshc ]
          Ashutosh Chauhan made changes -
          Attachment HIVE-5959.patch [ 12625390 ]
          Thejas M Nair made changes -
          Field Original Value New Value
          Component/s Authorization [ 12317300 ]
          Thejas M Nair created issue -

            People

            • Assignee:
              Ashutosh Chauhan
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 24h Time Not Required
                24h

                  Development