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 58E3E200BF0 for ; Fri, 30 Dec 2016 14:05:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 57752160B32; Fri, 30 Dec 2016 13:05:51 +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 A32A6160B24 for ; Fri, 30 Dec 2016 14:05:50 +0100 (CET) Received: (qmail 63403 invoked by uid 500); 30 Dec 2016 13:05:49 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 63391 invoked by uid 99); 30 Dec 2016 13:05:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2016 13:05:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5A979C03A0 for ; Fri, 30 Dec 2016 13:05:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id y_z0Ll97Anyp for ; Fri, 30 Dec 2016 13:05:47 +0000 (UTC) Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CD5335FAEF for ; Fri, 30 Dec 2016 13:05:46 +0000 (UTC) Received: by mail-oi0-f68.google.com with SMTP id u15so57937015oie.3 for ; Fri, 30 Dec 2016 05:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MzVZXT4mnWxwYf8LFARZzjZtUKCBf4SaIM/3FTHGjI8=; b=GreaX3ha92XZqBNxLqf0dEuTOFxvmto67mDJlY3cyB0f3//laICgyXyw+WEfs1F3zU xzJbMG5uiJHUmALV29fmflnEq0/GGZ+x771Ds0JxX+IYcON7mQm51xyrgGQGnXIdeD3Q rblpVtOyGUtzINIOD8NixpMHXI+cTW4ZQg7+ed3JNPl71FVb2hhNHCYWh5JA4x21Xe/V pONbii0/fHpKjwHC5JB57cWWqbdnNQ9N42FCV3Qo4yNEyljplqv+a2YNb6wsJxXVicTo GwgA8Xz1HU0Dk9cFv/Y4AR354T+XEnTMhRH4vGDupR3ViJFqVqTStSXd3UO/JtHyB12j ux9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MzVZXT4mnWxwYf8LFARZzjZtUKCBf4SaIM/3FTHGjI8=; b=Ba5qZGSXj8whqBJtSQ+LFG/EtHV8GdyLhXilKivM3YcX3OMQK+kICIp/oThOmk/4WZ 6oHG/9eculZ8zG0UMykvY0cPPT6g1QbW1MCwypeoRIT6od7fnh3gz4hJHO7KpkCc8+eg wqBZ299MQKMvC7NHU4dJ900Ou6v7m0H2LD0rpWFZIBbP8z6dd+K8nbZwGRX0osFv83UF y7WUizYya9LjQZvcaP4QG5Ii9CbjylYOH4Zg2SQHDf86/tjGldOMLtECzFCbnsEk/YV+ bdXnCMJeVegdWVYGyPivLLFyJY23nAC7OaqVcFZr4HMBrOM6mc7xsO/7QD/3d21dyR9T usxg== X-Gm-Message-State: AIkVDXIW1UIX6/JMZSkmYJ4i1Dvz90oIQF9gW3VLrR5Cb+ER1aQUcNb9Gl0Mv9YCiNKwHpTKgQx5HRlWWrfZXA== X-Received: by 10.157.56.40 with SMTP id i37mr21002902otc.213.1483103139544; Fri, 30 Dec 2016 05:05:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.65.234 with HTTP; Fri, 30 Dec 2016 05:05:39 -0800 (PST) From: Enrico Olivelli Date: Fri, 30 Dec 2016 14:05:39 +0100 Message-ID: Subject: A Java Client to connect to both 0.94 and 1.2.4 HBase To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 30 Dec 2016 13:05:51 -0000 Hi all, The migration from 0.94 to 1.2.4 is really a pain and some time ago I asked to this list if there was a way to connect to both a 0.94 cluster and a 1.2.4 cluster. I have created a proof-of-concept project which is able to achieve my goal but "shading" most of the 0.94 client. This is the source code and the list of tricks to make it work: https://github.com/eolivelli/multi-hbase The above code simply performs a full scan from a 0.94 table and performs puts to a 1.2.4 cluster, but I think that most of the basic API of the 0.94 client will work and the full API of the 1.2.4 is available. I'm going to implement a more stable version of the client to be used in production. I will appreciate a lot If anyone has some time to take a look and give me some feedback. Cheers Enrico Olivelli