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 "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2019/02/16 19:24:00 UTC

[jira] [Created] (HDFS-14287) DataXceiverServer May Double-Close

BELUGA BEHR created HDFS-14287:
----------------------------------

             Summary: DataXceiverServer May Double-Close
                 Key: HDFS-14287
                 URL: https://issues.apache.org/jira/browse/HDFS-14287
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
    Affects Versions: 3.2.0
            Reporter: BELUGA BEHR
         Attachments: HDFS-14287.1.patch

When a call to [HDFS-14258], when a user calls the {{kill()}} method, it closes the {{PeerServer}}.  This causes the thread reading from the {{PeerServer}} to interrupt and exit.  On the way out, this thread also closes the {{PeerServer}} for good measure.  I'm not sure what the affects of closing the {{PeerServer}} are twice, but it should be avoided.

To be clear, this is not a regressions caused by [HDFS-14258], if anything, [HDFS-14258] makes it easier to fix. :)



--
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