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 E4DF6D48F for ; Thu, 9 Aug 2012 21:21:19 +0000 (UTC) Received: (qmail 94964 invoked by uid 500); 9 Aug 2012 21:21:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 94922 invoked by uid 500); 9 Aug 2012 21:21:19 -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 94911 invoked by uid 99); 9 Aug 2012 21:21:19 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 21:21:19 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 7BFD3142822 for ; Thu, 9 Aug 2012 21:21:19 +0000 (UTC) Date: Thu, 9 Aug 2012 21:21:19 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1072128990.3739.1344547279510.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6529) With HFile v2, the region server will always perform an extra copy of source files 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-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432163#comment-13432163 ] stack commented on HBASE-6529: ------------------------------ So, sounds like you've found a valid objection to this patch -- that it doesn't actually fix the issue? It worked for you Jason? We should include a unit test it seems. > With HFile v2, the region server will always perform an extra copy of source files > ---------------------------------------------------------------------------------- > > Key: HBASE-6529 > URL: https://issues.apache.org/jira/browse/HBASE-6529 > Project: HBase > Issue Type: Bug > Components: performance, regionserver > Affects Versions: 0.94.0, 0.96.0 > Reporter: Jason Dai > Attachments: hbase-6529.diff > > > With HFile v2 implementation in HBase 0.94 & 0.96, the region server will use HFileSystem as its {color:blue}fs{color}. When it performs bulk load in Store.bulkLoadHFile(), it checks if its {color:blue}fs{color} is the same as {color:blue}srcFs{color}, which however will be DistributedFileSystem. Consequently, it will always perform an extra copy of source files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira