hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4912) Cleanup FSNamesystem#startFileInternal
Date Fri, 12 Jul 2013 06:41:55 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706700#comment-13706700
] 

Jing Zhao commented on HDFS-4912:
---------------------------------

+1 for the new patch.
                
> 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
>         Attachments: HDFS-4912.1.patch, HDFS-4912.2.patch, HDFS-4912.patch
>
>
> 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

Mime
View raw message