[ https://issues.apache.org/jira/browse/HADOOP-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-4890: ------------------------------------- Labels: newbie (was: ) > 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 Common > Issue Type: Bug > Reporter: Jerome Boulon > Labels: newbie > > 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 was sent by Atlassian JIRA (v6.2#6252)