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

Failed SASL authentication does not result in an exception on client side

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.6
    • Component/s: rpc
    • Labels:
      None

      Description

      When HBaseSaslRpcClient.saslConnect tries to authenticate it only reads the input stream if the process is not complete yet. However if the authentication failed and the process is completed the exception sent back in the stream never gets read.

      We should always try to read the input stream even if the process is complete to make sure it was empty.

        Attachments

          Activity

            People

            • Assignee:
              bszabolcs Szabolcs Bukros
              Reporter:
              bszabolcs Szabolcs Bukros
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: