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

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jboulon Jerome Boulon

            Dates

              Created:
              Updated:

              Slack

                Issue deployment