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

Provide HBase superuser higher priority over other users in the RPC handling



    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0, 2.0.0
    • Component/s: IPC/RPC
    • Labels:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      This JIRA modifies the signature of PriorityFunction#getPriority() method to also take request user as a parameter; all RPC requests sent by super users (as determined by cluster configuration) are executed with Admin QoS.


      HBASE-13351 annotates Master RPCs so that RegionServer RPCs are treated with a higher priority compared to user RPCs (and they are handled by a separate set of handlers, etc.). It may be good to stretch this to users too - hbase superuser (configured via hbase.superuser) gets higher priority over other users in the RPC handling. That way the superuser can always perform administrative operations on the cluster even if all the normal priority handlers are occupied (for example, we had a situation where all the master's handlers were tied up with many simultaneous createTable RPC calls from multiple users and the master wasn't able to perform any operations initiated by the admin). (Discussed this some with Enis Soztutar and Josh Elser).
      Does this make sense to others?


        1. HBASE-13375-v0.patch
          14 kB
          Mikhail Antonov
        2. HBASE-13375-v1.patch
          18 kB
          Mikhail Antonov
        3. HBASE-13375-v1.patch
          18 kB
          Mikhail Antonov
        4. HBASE-13375-v1.patch
          18 kB
          Mikhail Antonov
        5. HBASE-13375-v2.patch
          19 kB
          Mikhail Antonov
        6. HBASE-13375-v3.patch
          49 kB
          Mikhail Antonov
        7. HBASE-13375-v4.patch
          49 kB
          Mikhail Antonov
        8. HBASE-13375-v5.patch
          50 kB
          Mikhail Antonov
        9. HBASE-13375-v6.patch
          51 kB
          Mikhail Antonov
        10. HBASE-13375-v7.patch
          52 kB
          Mikhail Antonov
        11. HBASE-13375-v8.patch
          20 kB
          Mikhail Antonov
        12. HBASE-13375-v9.patch
          19 kB
          Anoop Sam John
        13. HBASE-13375-v9-branch-1.1.patch
          20 kB
          Mikhail Antonov

          Issue Links



              • Assignee:
                mantonov Mikhail Antonov
                ddas Devaraj Das
              • Votes:
                0 Vote for this issue
                15 Start watching this issue


                • Created: