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 2E77D200B99 for ; Wed, 21 Sep 2016 04:13:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2CE06160AC9; Wed, 21 Sep 2016 02:13:22 +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 73348160AC5 for ; Wed, 21 Sep 2016 04:13:21 +0200 (CEST) Received: (qmail 45329 invoked by uid 500); 21 Sep 2016 02:13:20 -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 45303 invoked by uid 99); 21 Sep 2016 02:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 02:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A1A32C2A60 for ; Wed, 21 Sep 2016 02:13:20 +0000 (UTC) Date: Wed, 21 Sep 2016 02:13:20 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HBASE-15921) Add first AsyncTable impl and create TableImpl based on it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Sep 2016 02:13:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-15921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508442#comment-15508442 ] Heng Chen edited comment on HBASE-15921 at 9/21/16 2:12 AM: ------------------------------------------------------------ The patch [~carp84] supplied missed some thing but i think it has been implemented in AP 1. How to deal with batch? For batch puts, how to control traffic? 2. How to deal with replica calls? 3. How to deal with retry and different Exception handling? And after you deal with these things, It is just another AsyncProcess i think. was (Author: chenheng): The patch [~carp84] supplied missed some thing but i think it has been implemented in AP 1. How to deal with batch? For batch puts, how to control traffic? 2. How to deal with replica calls? 3. How to deal with retry and different Exception handling? > Add first AsyncTable impl and create TableImpl based on it > ---------------------------------------------------------- > > Key: HBASE-15921 > URL: https://issues.apache.org/jira/browse/HBASE-15921 > Project: HBase > Issue Type: Improvement > Reporter: Jurriaan Mous > Assignee: Jurriaan Mous > Attachments: HBASE-15921.demo.patch, HBASE-15921.patch, HBASE-15921.v1.patch > > > First we create an AsyncTable interface with implementation without the Scan functionality. Those will land in a separate patch since they need a refactor of existing scans. > Also added is a new TableImpl to replace HTable. It uses the AsyncTableImpl internally and should be a bit faster because it does jump through less hoops to do ProtoBuf transportation. This way we can run all existing tests on the AsyncTableImpl to guarantee its quality. -- This message was sent by Atlassian JIRA (v6.3.4#6332)