Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6327 Clean up FSDirectory
  3. HDFS-6480

Move waitForReady() from FSDirectory to FSNamesystem

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • namenode
    • None
    • Reviewed

    Description

      Currently FSDirectory implements a barrier in waitForReady() / setReady() so that it only serve requests once the FSImage is fully loaded.

      As a part of the effort to evolve FSDirectory to a class which focuses on implementing the data structure of the namespace, this jira proposes to move the barrier one level higher to FSNamesystem.

      Attachments

        1. HDFS-6480.005.patch
          25 kB
          Haohui Mai
        2. HDFS-6480.004.patch
          26 kB
          Haohui Mai
        3. HDFS-6480.003.patch
          26 kB
          Haohui Mai
        4. HDFS-6480.002.patch
          21 kB
          Haohui Mai
        5. HDFS-6480.001.patch
          22 kB
          Haohui Mai
        6. HDFS-6480.000.patch
          22 kB
          Haohui Mai

        Activity

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: