You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/06/17 20:15:21 UTC

[jira] [Created] (HDFS-4912) Cleanup FSNamesystem#startFileInternal

Suresh Srinivas created HDFS-4912:
-------------------------------------

             Summary: Cleanup FSNamesystem#startFileInternal
                 Key: HDFS-4912
                 URL: https://issues.apache.org/jira/browse/HDFS-4912
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Suresh Srinivas
            Assignee: Suresh Srinivas


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira