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

Various Improvements for BlockTokenSecretManager

    XMLWordPrintableJSON

Details

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

    Description

      Various improvements for class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.java

      1. Remove superfluous toString calls
      2. Fix some checkstyle warnings
      3. Re-implement method with O(N^2) with HashMultiSet - also improves readability
      4. Increase code re-use with Apache Commons Library

      Attachments

        1. HDFS-13193.1.patch
          9 kB
          David Mollitor

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: