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 D30C9F1F7 for ; Mon, 8 Apr 2013 18:45:16 +0000 (UTC) Received: (qmail 96567 invoked by uid 500); 8 Apr 2013 18:45:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 96519 invoked by uid 500); 8 Apr 2013 18:45:16 -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 96510 invoked by uid 99); 8 Apr 2013 18:45:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 18:45:16 +0000 Date: Mon, 8 Apr 2013 18:45:16 +0000 (UTC) From: "Himanshu Vashishtha (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8288) HBaseFileSystem: Refactoring and correct semantics for createPath methods 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-8288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Himanshu Vashishtha updated HBASE-8288: --------------------------------------- Attachment: HBase-8288-v3.patch Done. Thanks for the review guys. > HBaseFileSystem: Refactoring and correct semantics for createPath methods > ------------------------------------------------------------------------- > > Key: HBASE-8288 > URL: https://issues.apache.org/jira/browse/HBASE-8288 > Project: HBase > Issue Type: Bug > Components: Filesystem Integration > Affects Versions: 0.94.6 > Reporter: Himanshu Vashishtha > Assignee: Himanshu Vashishtha > Fix For: 0.94.7 > > Attachments: HBase-8288-v1.patch, HBase-8288-v2.patch, HBase-8288-v3.patch > > > This jira is for two issues I see in the HBaseFileSystem class: > 1) Load testing on a 7 node cluster using ycsb insert workload shows that static initialization of conf properties results in a slightly better throughput. Though the initialization uses HBaseConfiguration.create() call which is expensive (and I tried to avoid that in its first version), this class is used for most of the filesystem class, and had to invoke an additional checkAndSetXX call before making the fs call because it is not certain whether the retry properties are set or not. Having initialize them in static block removes that limitation. > 2) Correct semantics for CreatePathXXX method. In case the overwrite flag is false and file already exists, underlying fs throws an exception. It should be re-thrown to the caller. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira