Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82A18111C3 for ; Wed, 9 Jul 2014 18:41:06 +0000 (UTC) Received: (qmail 85312 invoked by uid 500); 9 Jul 2014 18:41:05 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 85131 invoked by uid 500); 9 Jul 2014 18:41:05 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 84895 invoked by uid 99); 9 Jul 2014 18:41:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 18:41:05 +0000 Date: Wed, 9 Jul 2014 18:41:05 +0000 (UTC) From: "Tsz Wo Nicholas Sze (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-172) Quota exceed exception creates file of size 0 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/HDFS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved HDFS-172. -------------------------------------- Resolution: Not a Problem Resolve this as "not-a-problem". Please feel free to reopen if you disagree. > Quota exceed exception creates file of size 0 > --------------------------------------------- > > Key: HDFS-172 > URL: https://issues.apache.org/jira/browse/HDFS-172 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Ravi Phulari > > Empty file of size 0 is created when QuotaExceed exception occurs while copying a file. This file is created with the same name of which file copy is tried . > I.E if operation > Hadoop fs -copyFromLocal testFile1 /testDir > Fails due to quota exceed exception then testFile1 of size 0 is created in testDir on HDFS. > Steps to verify > 1) Create testDir and apply space quota of 16kb > 2) Copy file say testFile of size greater than 16kb from local file system > 3) You should see QuotaException error > 4) testFile of size 0 is created in testDir which is not expected . -- This message was sent by Atlassian JIRA (v6.2#6252)