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

Cleanup FSNamesystem#startFileInternal

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FSNamesystem#startFileInternal is used by both create and append. This results in ugly if else conditions to consider append/create scenarios. This method can be refactored and the code can be cleaned up.

        Attachments

        1. HDFS-4912.1.patch
          15 kB
          Suresh Srinivas
        2. HDFS-4912.2.patch
          15 kB
          Suresh Srinivas
        3. HDFS-4912.patch
          11 kB
          Suresh Srinivas

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              sureshms Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: