hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HDFS-14287) DataXceiverServer May Double-Close PeerServer
Date Mon, 18 Feb 2019 18:57:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-14287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Íñigo Goiri updated HDFS-14287:
-------------------------------
    Attachment:     (was: HDFS-14287.1.patch)

> DataXceiverServer May Double-Close PeerServer
> ---------------------------------------------
>
>                 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
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HDFS-14287.1.patch
>
>
> Based on my work with [HDFS-14258], I noticed that when a user calls the {{kill()}} method
in {{DataXceiverServer}}, it closes the {{PeerServer}}.  This causes the thread responsible
for receiving connections from the {{PeerServer}} to interrupt and then exit.  On the way
out, this thread also [closes|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java#L246-L253]
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message