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

Separate safemode related operations in GetBlockLocations()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      Currently FSNamesystem#GetBlockLocations() has some special cases when the NN is in SafeMode. This jira proposes to refactor the code to improve readability.

      Attachments

        1. HDFS-8446.000.patch
          24 kB
          Haohui Mai
        2. HDFS-8446.001.patch
          24 kB
          Haohui Mai
        3. HDFS-8446.002.patch
          24 kB
          Haohui Mai
        4. HDFS-8446.003.patch
          24 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: