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

Use a client property for SaslConnection MAX_ATTEMPTS (currently hardcoded to 5)

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

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The no.of retries for Sasl handshake is hardcoded to 5 (MAX_ATTEMPTS). Use cases which have strict SLAs on their operation timeouts need this to be configurable to meet their SLAs.

      Sample Scenario:

      • RS is slow in accepting connections but is slow in responding to requests.
      • Client makes a Sasl Connection attempt but times out on read (can be configurable via hbase.ipc.client.socket.timeout.read) and retries 5 times at this time (this is not configurable) and eventually bails out.

      Make this configurable by a new client property (say hbase.security.relogin.maxretries) so that clients/usecases can override and meet their timeout SLAs.

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              rvaleti Ravi Kishore Valeti
              Reporter:
              rvaleti Ravi Kishore Valeti

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment