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

Make FSDirectory#addINode take existing INodes as its parameter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently FSDirectory#addLastINode takes an INodesInPath instance, which uses null elements to indicate INodes to create, as its parameter. This logic makes the logic of mkdir complicated. It will be better to let addLastINode's INodesInPath parameter only contain existing INodes.

        Attachments

        1. HDFS-7484.000.patch
          7 kB
          Haohui Mai
        2. HDFS-7484.001.patch
          23 kB
          Haohui Mai
        3. HDFS-7484.002.patch
          44 kB
          Haohui Mai
        4. HDFS-7484.003.patch
          45 kB
          Haohui Mai
        5. HDFS-7484.004.patch
          44 kB
          Jing Zhao
        6. HDFS-7484.005.patch
          50 kB
          Jing Zhao
        7. HDFS-7484.006.patch
          58 kB
          Jing Zhao
        8. HDFS-7484.007.patch
          59 kB
          Jing Zhao
        9. HDFS-7484.008.patch
          60 kB
          Jing Zhao
        10. HDFS-7484.009.patch
          60 kB
          Jing Zhao

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: