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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development