hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay vyas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11244) The HCFS contract test testRenameFileBeingAppended doesn't do a rename
Date Wed, 29 Oct 2014 18:56:34 GMT

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

jay vyas commented on HADOOP-11244:
-----------------------------------

make this change in your HCFS XML file

{noformat}
  <property>
    <name>fs.contract.supports-append</name>
    <value>false</value>
  </property>
{noformat}

This will disable the test.  but i think it will be necessary for example for something like
hbase.  renaming is defined as part of the append test file suite it looks like.

> 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
>            Reporter: Noah Watkins
>
> 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)

Mime
View raw message