Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10285 Storage Policy Satisfier in HDFS
  3. HDFS-16458

[SPS]: Fix bug for unit test of reconfiguring SPS mode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • None

    Description

      TestNameNodeReconfigure#verifySPSEnabled was compared with itself(isSPSRunning) at assertEquals.

      In addition, after an internal SPS has been removed, spsService daemon will not start within StoragePolicySatisfyManager. I think the relevant code can be removed to simplify the code.

      IMO, after reconfig SPS mode, we just need to confirm whether the mode is correct and whether spsManager is NULL.

      Attachments

        Activity

          People

            tomscut Tao Li
            tomscut Tao Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h