Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9227

RESTServer should handle the loginUser correctly

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.95.0
    • 0.95.2
    • None
    • None
    • Reviewed

    Description

      HBASE-8662 introduced a change by which the realUser in the method RESTServer.main() gets assigned to the loginUser only when the config hbase.rest.authentication.type is set to something (like "kerberos").

      I think we should set the realUser to loginUser even when the config hbase.rest.authentication.type is null. Without that the regular (non-impersonated) accesses also fail.

      Attachments

        1. 9227-4.txt
          1 kB
          Devaraj Das
        2. 9227-3.txt
          1 kB
          Devaraj Das
        3. 9227-2.txt
          2 kB
          Devaraj Das
        4. 9227-1.txt
          1 kB
          Devaraj Das

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ddas Devaraj Das
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment