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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
    • 3.0.0-alpha-1, 2.3.0, 2.2.6
    • rpc
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: