You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/12/01 17:16:12 UTC
[jira] [Commented] (HADOOP-11244) The HCFS contract test
testRenameFileBeingAppended doesn't do a rename
[ https://issues.apache.org/jira/browse/HADOOP-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229957#comment-14229957 ]
Steve Loughran commented on HADOOP-11244:
-----------------------------------------
OK, let's just cull the tests. It doesn't really prove anything either way, we just need to say "no guarantees of anything on rename during append"
> The HCFS contract test testRenameFileBeingAppended doesn't do a rename
> ----------------------------------------------------------------------
>
> Key: HADOOP-11244
> URL: https://issues.apache.org/jira/browse/HADOOP-11244
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Noah Watkins
> Assignee: jay vyas
> Fix For: 2.7.0
>
> Attachments: HADOOP-11244.patch, HADOOP-11244.patch
>
>
> The test AbstractContractAppendTest::testRenameFileBeingAppended appears to assert the behavior of renaming a file opened for writing. However, the assertion "assertPathExists("renamed destination file does not exist", renamed);" fails because it appears that the file "renamed" is never created (ostensibly it should be the "target" file that has been renamed).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)