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

DatanodeAdminManager Improvements

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

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • hdfs
    • None

    Description

      1. Use Collection type Set instead of List for tracking nodes
      2. Fix logging statements that are erroneously appending variables instead of using parameters
      3. Miscellaneous small improvements

      As an example, the node variable is being appended to the string instead of being passed as an argument to the trace method for variable substitution.

      LOG.trace("stopDecommission: Node {} in {}, nothing to do." +
                node, node.getAdminState());
      

      Attachments

        1. HDFS-13167.1.patch
          5 kB
          David Mollitor
        2. HDFS-13167.2.patch
          5 kB
          David Mollitor
        3. HDFS-13167.3.patch
          5 kB
          David Mollitor

        Activity

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

          People

            belugabehr David Mollitor Assign to me
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment