Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22871

Move the DirScanPool out and do not use static field

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.2.1, 2.1.6
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The current implementation is a bit ugly, the onConfigurationChange is an instance method but it writes to a static field and cause a findbugs warning. I think we can just put the DirScanPool in HMaster and pass it when constructing Cleaners...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: