HBase
  1. HBase
  2. HBASE-9227

RESTServer should handle the loginUser correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.95.0
    • Fix Version/s: 0.95.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        Devaraj Das created issue -
        Devaraj Das made changes -
        Field Original Value New Value
        Attachment 9227-1.txt [ 12598126 ]
        Devaraj Das made changes -
        Attachment 9227-2.txt [ 12598141 ]
        Devaraj Das made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Devaraj Das made changes -
        Attachment 9227-3.txt [ 12598226 ]
        Devaraj Das made changes -
        Attachment 9227-4.txt [ 12598259 ]
        stack made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        stack made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Devaraj Das
            Reporter:
            Devaraj Das
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development