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

Various Improvements for BlockTokenSecretManager

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: hdfs
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

            • Assignee:
              belugabehr BELUGA BEHR
              Reporter:
              belugabehr BELUGA BEHR
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: