Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13615

libhdfs++ SaslProtocol hanging while accessing invalid lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      During certain race conditions, it is possible to have an asio thread that wakes up to process a response, but the RpcConnection to which this SaslProtocol belongs is dead.
      This can happen as a result of the filesystem being destroyed in the middle of a sasl handshake.

      Therefore, we should explicitly capture the RpcConnection in the lambda to ensure its existence when the SaslProtocol wakes up to process the server's response. 

      Attachments

        1. HDFS-13615.000.patch
          2 kB
          Mitchell Tracy

        Activity

          People

            mtracy Mitchell Tracy
            mtracy Mitchell Tracy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: