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

Hudson commented on HDFS-4639:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1371 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1371/])
    HDFS-4639. startFileInternal() should not increment generation stamp. 
Contributed by Plamen Jeliazkov. (Revision 1467534)

     Result = FAILURE
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1467534
Files : 
* /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/FSDirectory.java
* 
/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/TestDFSUpgrade.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java

                
> startFileInternal() should not increment generation stamp
> ---------------------------------------------------------
>
>                 Key: HDFS-4639
>                 URL: https://issues.apache.org/jira/browse/HDFS-4639
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.3-alpha
>            Reporter: Konstantin Shvachko
>            Assignee: Plamen Jeliazkov
>             Fix For: 2.0.5-beta
>
>         Attachments: HDFS-4639.patch, HDFS-4639.patch, HDFS-4639.patch, 
> HDFS-4639.trunk.patch
>
>
> startFileInternal() increments genStamp and passes it to 
> FSDirectory.addFile() as a parameter, while the addFile() simply ignores the 
> generationStamp parameter.
> We should remove the call of nextGenerationStamp() in startFileInternal() and 
> eliminate the redundant parameter in FSDirectory.addFile().

--
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