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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to