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

Hudson commented on HDFS-4912:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1459 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1459/])
HDFS-4912. Cleanup FSNamesystem#startFileInternal. Contributed by Suresh 
Srinivas. (suresh: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1502634)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileCreation.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestLeaseRecovery2.java

                
> Cleanup FSNamesystem#startFileInternal
> --------------------------------------
>
>                 Key: HDFS-4912
>                 URL: https://issues.apache.org/jira/browse/HDFS-4912
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 2.1.0-beta
>
>         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

Reply via email to