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 A30F1200D37 for ; Thu, 26 Oct 2017 02:29:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A18D6160BE0; Thu, 26 Oct 2017 00: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 E6FE0160BDA for ; Thu, 26 Oct 2017 02:29:07 +0200 (CEST) Received: (qmail 39018 invoked by uid 500); 26 Oct 2017 00:29:07 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 39009 invoked by uid 99); 26 Oct 2017 00:29:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 00:29:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 414E11A16CD for ; Thu, 26 Oct 2017 00:29:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2-J8kItgCESG for ; Thu, 26 Oct 2017 00:29:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5CFBC5F666 for ; Thu, 26 Oct 2017 00:29:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E4685E0E4A for ; Thu, 26 Oct 2017 00:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5517B212FD for ; Thu, 26 Oct 2017 00:29:00 +0000 (UTC) Date: Thu, 26 Oct 2017 00:29:00 +0000 (UTC) From: "Solomon Duskis (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-2955) Create a Cloud Bigtable HBase connector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Oct 2017 00:29:08 -0000 [ https://issues.apache.org/jira/browse/BEAM-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219783#comment-16219783 ] Solomon Duskis commented on BEAM-2955: -------------------------------------- The problem is that Cloud Bigtable needs the following things: # A different method for splitting. # A different configuration mechanism for Cloud Bigtable specific configuration. The configuration mechanism would also require the use of ValueProvider for templating purposes. # A custom Cloud Bigtable oriented metric for expressing throttling. # A custom way to use MultiRowRangeFilter (which is different between Cloud Bigtable and HBase) There are probably other differences I'm missing. A Service works for issue #1, but not for the rest. There definitely is room for reuse, but I'm not sure if passing a Service to HBaseIO is the right way to do it. > Create a Cloud Bigtable HBase connector > --------------------------------------- > > Key: BEAM-2955 > URL: https://issues.apache.org/jira/browse/BEAM-2955 > Project: Beam > Issue Type: New Feature > Components: sdk-java-gcp > Reporter: Solomon Duskis > Assignee: Solomon Duskis > > The Cloud Bigtable (CBT) team has had a Dataflow connector maintained in a different repo for awhile. Recently, we did some reworking of the Cloud Bigtable client that would allow it to better coexist in the Beam ecosystem, and we also released a Beam connector in our repository that exposes HBase idioms rather than the Protobuf idioms of BigtableIO. More information about the customer experience of the HBase connector can be found here: [https://cloud.google.com/bigtable/docs/dataflow-hbase]. > The Beam repo is a much better place to house a Cloud Bigtable HBase connector. There are a couple of ways we can implement this new connector: > # The CBT connector depends on artifacts in the io/hbase maven project. We can create a new extend HBaseIO for the purposes of CBT. We would have to add some features to HBaseIO to make that work (dynamic rebalancing, and a way for HBase and CBT's size estimation models to coexist) > # The BigtableIO connector works well, and we can add an adapter layer on top of it. I have a proof of concept of it here: [https://github.com/sduskis/cloud-bigtable-client/tree/add_beam/bigtable-dataflow-parent/bigtable-hbase-beam]. > # We can build a separate CBT HBase connector. > I'm happy to do the work. I would appreciate some guidance and discussion about the right approach. -- This message was sent by Atlassian JIRA (v6.4.14#64029)