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

Cleanup BlockScanner initialization and add test for configuration contract

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: datanode, test
    • Labels:
      None

      Description

      The initialization of the BlockScanner can be simplified by moving out test hooks. Tests can be modified to use configuration only.

      Also we need an additional test case to verify the behavior with positive, negative and zero values of dfs.datanode.scan.period.hours for compatibility.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jagadesh.kiran Jagadesh Kiran N
                Reporter:
                arp Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: