You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kiran Kumar Maturi (Jira)" <ji...@apache.org> on 2021/05/24 11:28:00 UTC
[jira] [Created] (HADOOP-17729) Datanode client is stuck, waiting
for connections map to be empty
Kiran Kumar Maturi created HADOOP-17729:
-------------------------------------------
Summary: Datanode client is stuck, waiting for connections map to be empty
Key: HADOOP-17729
URL: https://issues.apache.org/jira/browse/HADOOP-17729
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 2.10.1
Reporter: Kiran Kumar Maturi
In our cluster we have observed when close command is issued to Datanode, It is stuck indefinitely waiting for connections map to be empty.
{code:java}
for (Connection conn : connections.values()) {
conn.interrupt();
conn.interruptConnectingThread();
}
// wait until all connections are closed
while (!connections.isEmpty()) {
try {
Thread.sleep(STOP_SLEEP_TIME_MS);
} catch (InterruptedException e) {
}
}
{code}
[code link|https://github.com/apache/hadoop/blob/branch-2.10.1/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java#L1360]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org