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

Fast fail behavior for unauthenticated user

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.0, 0.94.0, 0.95.2
    • 0.94.1, 0.95.0
    • IPC/RPC, security
    • None
    • Reviewed

    Description

      In case of unauthenticated users in secure hbase, hbase shell does a connection retry at two levels:
      a) HConnection: It retries hbase.client.retries.number times in the getMaster()
      b) HBaseAdmin: it again retries hbase.client.retries.number times in its ctr

      So, hbase shell retries square number of times of the configured setting. We can make it failfast (no retries) in case the user is not authenticated (no valid kerberos credentials).

      Attachments

        1. 6314-v1.patch
          2 kB
          Himanshu Vashishtha
        2. 6314-v2.patch
          2 kB
          Himanshu Vashishtha
        3. HBASE-6314-trunk.patch
          2 kB
          Andrew Kyle Purtell
        4. HBASE-6314-0.94.patch
          2 kB
          Andrew Kyle Purtell

        Activity

          People

            v.himanshu Himanshu Vashishtha
            v.himanshu Himanshu Vashishtha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: