Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2FFFA200B0F for ; Fri, 17 Jun 2016 20:29:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2EBF4160A4C; Fri, 17 Jun 2016 18:29:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71121160A65 for ; Fri, 17 Jun 2016 20:29:07 +0200 (CEST) Received: (qmail 21574 invoked by uid 500); 17 Jun 2016 18:29:06 -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 21276 invoked by uid 99); 17 Jun 2016 18:29:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2016 18:29:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8EF382C1F76 for ; Fri, 17 Jun 2016 18:29:05 +0000 (UTC) Date: Fri, 17 Jun 2016 18:29:05 +0000 (UTC) From: "Jerry He (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15806) An endpoint-based export tool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Jun 2016 18:29:08 -0000 [ https://issues.apache.org/jira/browse/HBASE-15806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336635#comment-15336635 ] Jerry He commented on HBASE-15806: ---------------------------------- {code} + Path file = new Path(request.getOutputPath(), "export-" + info.getEncodedName()); + FileSystem fs = FileSystem.get(conf); {code} You want to get the fs from the path because it may be on another FS. > An endpoint-based export tool > ----------------------------- > > Key: HBASE-15806 > URL: https://issues.apache.org/jira/browse/HBASE-15806 > Project: HBase > Issue Type: New Feature > Affects Versions: 2.0.0 > Reporter: ChiaPing Tsai > Assignee: ChiaPing Tsai > Priority: Minor > Fix For: 2.0.0 > > Attachments: Experiment.png, HBASE-15806-v1.patch, HBASE-15806-v2.patch, HBASE-15806-v3.patch, HBASE-15806.patch > > > The time for exporting table can be reduced, if we use the endpoint technique to export the hdfs files by the region server rather than by hbase client. > In my experiments, the elapsed time of endpoint-based export can be less than half of current export tool (enable the hdfs compression) > But the shortcomings is we need to alter table for deploying the endpoint > any comments about this? thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)