Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4890

shutdown method in DataNode.java could generate thousand of log entries with the same message in a very short time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jboulon Jerome Boulon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: