Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E300C177C4 for ; Wed, 29 Oct 2014 18:56:34 +0000 (UTC) Received: (qmail 16235 invoked by uid 500); 29 Oct 2014 18:56:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 16194 invoked by uid 500); 29 Oct 2014 18:56:34 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 16182 invoked by uid 99); 29 Oct 2014 18:56:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 18:56:34 +0000 Date: Wed, 29 Oct 2014 18:56:34 +0000 (UTC) From: "jay vyas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11244) The HCFS contract test testRenameFileBeingAppended doesn't do a rename MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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} fs.contract.supports-append false {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)