You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2015/05/18 23:11:01 UTC
[jira] [Created] (HDFS-8423) Add additional trace to
DataNode#shutdown to track progress
Xiaoyu Yao created HDFS-8423:
--------------------------------
Summary: Add additional trace to DataNode#shutdown to track progress
Key: HDFS-8423
URL: https://issues.apache.org/jira/browse/HDFS-8423
Project: Hadoop HDFS
Issue Type: Sub-task
Affects Versions: 2.6.0
Reporter: Xiaoyu Yao
Assignee: Xiaoyu Yao
We have seen Datanode#shutdown wait infinitely during rolling upgrade but there is no progress information logged in datanode log.
This ticket propose to add additional tracing after completion of sub tasks such as:
{code}
// Terminate directory scanner and block scanner
shutdownPeriodicScanners();
// TODO: log completion
// wait reconfiguration thread, if any, to exit
shutdownReconfigurationTask();
// TODO: log completion
if (this.dataXceiverServer != null) {
// wait for dataXceiverServer to terminate
try {
this.dataXceiverServer.join();
} catch (InterruptedException ie) {
}
}
// TODO: log completion
if (this.localDataXceiverServer != null) {
// wait for localDataXceiverServer to terminate
try {
this.localDataXceiverServer.join();
} catch (InterruptedException ie) {
}
}
// TODO: log completion
...
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)