shutdown method in DataNode.java could generate thousand of log entries with
the same message in a very short time
------------------------------------------------------------------------------------------------------------------
Key: HADOOP-4890
URL: https://issues.apache.org/jira/browse/HADOOP-4890
Project: Hadoop Core
Issue Type: Bug
Reporter: Jerome Boulon
while (true) {
this.threadGroup.interrupt();
LOG.info("Waiting for threadgroup to exit, active threads is " +
this.threadGroup.activeCount());
if (this.threadGroup.activeCount() == 0) {
break;
}
try {
Thread.sleep(1000);
} catch (InterruptedException e) {}
}
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
2008-12-08 17:53:45,957 INFO org.apache.hadoop.dfs.DataNode: Waiting for
threadgroup to exit, active threads is 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.