Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F631109F3 for ; Mon, 5 Jan 2015 06:37:34 +0000 (UTC) Received: (qmail 16882 invoked by uid 500); 5 Jan 2015 06:37:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16836 invoked by uid 500); 5 Jan 2015 06:37:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 16825 invoked by uid 99); 5 Jan 2015 06:37:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 06:37:35 +0000 Date: Mon, 5 Jan 2015 06:37:35 +0000 (UTC) From: "Ashish Singhi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12804) ImportTsv fails to delete partition files created by it 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/HBASE-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-12804: ---------------------------------- Attachment: HBASE-12804.patch > ImportTsv fails to delete partition files created by it > ------------------------------------------------------- > > Key: HBASE-12804 > URL: https://issues.apache.org/jira/browse/HBASE-12804 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.9 > Reporter: Ashish Singhi > Assignee: Ashish Singhi > Attachments: HBASE-12804.patch > > > {code} > fs.deleteOnExit(partitionsPath); > writePartitions(job.getConfiguration(), partitionsPath, splitPoints); > {code} > In the above code deleteOnExit will return without adding file in the deleteOnExit set as the file is not created till then. -- This message was sent by Atlassian JIRA (v6.3.4#6332)