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 4176C11489 for ; Sat, 3 May 2014 02:49:17 +0000 (UTC) Received: (qmail 32367 invoked by uid 500); 3 May 2014 02:49:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 32332 invoked by uid 500); 3 May 2014 02:49: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 32323 invoked by uid 99); 3 May 2014 02:49:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 02:49:15 +0000 Date: Sat, 3 May 2014 02:49:15 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11090) Backport 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-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11090: --------------------------- Attachment: 11090-trunk.txt > Backport HBASE-11083 ExportSnapshot should provide capability to limit bandwidth consumption > -------------------------------------------------------------------------------------------- > > Key: HBASE-11090 > URL: https://issues.apache.org/jira/browse/HBASE-11090 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.99.0, 0.98.3 > > Attachments: 11090-0.98-v1.txt, 11090-trunk.txt > > > HBASE-11083 allows ExportSnapshot to limit bandwidth usage. > Here is *one* approach for backporting: > Create the following classes (class name is tentative): > hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/util/ThrottledInputStream.java > hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/util/ThrottledInputStream.java > each of which extends the corresponding ThrottledInputStream in hadoop-1 / hadoop-2 > ExportSnapshot would reference util.ThrottledInputStream, depending on which compatibility module gets bundled. > ThrottledInputStream.java in hadoop-1 branch was backported through MAPREDUCE-5081 which went into 1.2.0 release. > We need to decide how hadoop releases earlier than 1.2.0 should be supported. > *Second* approach for backporting is to make a copy of ThrottledInputStream and include it in hbase codebase. -- This message was sent by Atlassian JIRA (v6.2#6252)