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

Cleanup FSNamesystem#startFileInternal

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • namenode
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment