[ https://issues.apache.org/jira/browse/HADOOP-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068846#comment-14068846 ]
Allen Wittenauer commented on HADOOP-4890: ------------------------------------------ I know this was still happening in hadoop 1.x and suspect it is still happening in 2.x. When I've seen this particular bug, the DN has run out of memory and the JVM is desparately trying to shut itself down because the world has collapsed around it. > 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)