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

DatanodeAdminManager Improvements

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: