You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Mitchell Tracy (JIRA)" <ji...@apache.org> on 2018/05/24 17:03:00 UTC

[jira] [Created] (HDFS-13615) libhdfs++ SaslProtocol hanging while accessing invalid lock

Mitchell Tracy created HDFS-13615:
-------------------------------------

             Summary: libhdfs++ SaslProtocol hanging while accessing invalid lock
                 Key: HDFS-13615
                 URL: https://issues.apache.org/jira/browse/HDFS-13615
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Mitchell Tracy
            Assignee: Mitchell Tracy


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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org