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

libhdfs++ SaslProtocol hanging while accessing invalid lock

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: