Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93B29200B50 for ; Sat, 13 Aug 2016 19:12:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 922BF160AA6; Sat, 13 Aug 2016 17:12:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A514160A73 for ; Sat, 13 Aug 2016 19:12:29 +0200 (CEST) Received: (qmail 11882 invoked by uid 500); 13 Aug 2016 17:12:24 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 11540 invoked by uid 99); 13 Aug 2016 17:12:24 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2016 17:12:24 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 91FD12C02A8 for ; Sat, 13 Aug 2016 17:12:22 +0000 (UTC) Date: Sat, 13 Aug 2016 17:12:22 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HADOOP-10375) Local FS doesn't raise an error on mkdir() over a file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 Aug 2016 17:12:30 -0000 [ https://issues.apache.org/jira/browse/HADOOP-10375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran resolved HADOOP-10375. ------------------------------------- Resolution: Duplicate Assignee: Steve Loughran (was: Andras Bokor) Fix Version/s: 0.21.0 > Local FS doesn't raise an error on mkdir() over a file > ------------------------------------------------------ > > Key: HADOOP-10375 > URL: https://issues.apache.org/jira/browse/HADOOP-10375 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 2.3.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 0.21.0 > > > if you mkdir() on a path where there is already a file, the operation does > not fail. Instead the operation returns 0. > This is at odds with the behaviour of HDFS. > HADOOP-6229 add the check for the parent dir not being a file, but something similar is needed for the destination dir itself -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org