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 B6FE111FFF for ; Sat, 26 Apr 2014 14:35:16 +0000 (UTC) Received: (qmail 25428 invoked by uid 500); 26 Apr 2014 14:35:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25340 invoked by uid 500); 26 Apr 2014 14:35:15 -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 25329 invoked by uid 99); 26 Apr 2014 14:35:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Apr 2014 14:35:15 +0000 Date: Sat, 26 Apr 2014 14:35:15 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11083) ExportSnapshot should provide capability to limit bandwidth consumption 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-11083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11083: --------------------------- Attachment: 11083-v2.txt Patch v2 adds optimization where ThrottledInputStream is only created when bandwidth parameter is non-default value. > ExportSnapshot should provide capability to limit bandwidth consumption > ----------------------------------------------------------------------- > > Key: HBASE-11083 > URL: https://issues.apache.org/jira/browse/HBASE-11083 > Project: HBase > Issue Type: Improvement > Components: snapshots > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 11083-v1.txt, 11083-v2.txt > > > This capability was first brought up in this thread: > http://search-hadoop.com/m/DHED4Td8Xb1 > The rewritten distcp already provides this capability. > See MAPREDUCE-2765 > distcp implementation utilizes ThrottledInputStream which provides bandwidth throttling on a specified InputStream. > As a first step, we can > * add an option to ExportSnapshot which expresses bandwidth per map in MB > * utilize ThrottledInputStream in ExportSnapshot#ExportMapper#copyFile(). -- This message was sent by Atlassian JIRA (v6.2#6252)