Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-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 C4F2C17D09 for ; Tue, 9 Jun 2015 13:37:23 +0000 (UTC) Received: (qmail 22297 invoked by uid 500); 9 Jun 2015 13:37:23 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 22242 invoked by uid 500); 9 Jun 2015 13:37:23 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 22231 invoked by uid 99); 9 Jun 2015 13:37:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 13:37:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Jun 2015 13:35:13 +0000 Received: (qmail 22003 invoked by uid 99); 9 Jun 2015 13:37:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 13:37:00 +0000 Date: Tue, 9 Jun 2015 13:37:00 +0000 (UTC) From: "Rajeshbabu Chintaguntla (JIRA)" To: dev@phoenix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-2030) CsvBulkLoadTool should use logical name of the table for output directory suffix MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PHOENIX-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajeshbabu Chintaguntla updated PHOENIX-2030: --------------------------------------------- Description: Currently the CsvBulkLoad tool loads the data parrallely to data and index tables. If a table has multiple local indexes then the output directory for the indexes data is will be same and then one thread might delete when it's job done and then other index data loading fail with FileNotFoundException. To avoid this we should use logical name as suffix output directory which is unique for data table and index tables. was: Currently the CsvBulkLoad tool loads the data parrallely to data and index tables. If a table has multiple local indexes then the output directory for the indexes data is will be same and then one thread might delete when it's job done and then other index data loading fail with FileNotFoundException. To avoid this we should use logical name as suffix output directory. > CsvBulkLoadTool should use logical name of the table for output directory suffix > -------------------------------------------------------------------------------- > > Key: PHOENIX-2030 > URL: https://issues.apache.org/jira/browse/PHOENIX-2030 > Project: Phoenix > Issue Type: Bug > Reporter: Rajeshbabu Chintaguntla > Assignee: Rajeshbabu Chintaguntla > > Currently the CsvBulkLoad tool loads the data parrallely to data and index tables. If a table has multiple local indexes then the output directory for the indexes data is will be same and then one thread might delete when it's job done and then other index data loading fail with FileNotFoundException. > To avoid this we should use logical name as suffix output directory which is unique for data table and index tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)