Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17209

Correct comments to align with the code

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The waiting time in the comments is inconsistent with the code in DataNode.java

      public void shutdown() {
      ...
        while (true) {
          // When shutting down for restart, wait 2.5 seconds before forcing
          // termination of receiver threads.
          if (!this.shutdownForUpgrade ||
              (this.shutdownForUpgrade && (Time.monotonicNow() - timeNotified
                  > 1000))) {
            this.threadGroup.interrupt();
            break;
          }

      Attachments

        Activity

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

          People

            yu.wang Yu Wang Assign to me
            yu.wang Yu Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment