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 9A57D200CDA for ; Fri, 4 Aug 2017 19:01:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 98AEC16DE82; Fri, 4 Aug 2017 17:01:12 +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 B44A716DE7C for ; Fri, 4 Aug 2017 19:01:11 +0200 (CEST) Received: (qmail 10627 invoked by uid 500); 4 Aug 2017 17:01:10 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 10615 invoked by uid 99); 4 Aug 2017 17:01:10 -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; Fri, 04 Aug 2017 17:01:10 +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 EAFE01A0AF9 for ; Fri, 4 Aug 2017 17:01:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.401 X-Spam-Level: X-Spam-Status: No, score=-0.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DtN744L-tJQM for ; Fri, 4 Aug 2017 17:01:08 +0000 (UTC) Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B9E895FBCD for ; Fri, 4 Aug 2017 17:01:07 +0000 (UTC) Received: by mail-wr0-f179.google.com with SMTP id v105so18917986wrb.0 for ; Fri, 04 Aug 2017 10:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=KrqYw5v/YVPg8pHaaKgqfE7Ftek55LfT9mwzzn449RM=; b=MNLlQrrt4mKCv2PdUah2BPyBKjYGfOVM3YmKkxjm4V1FbadNge18j1GnzVNLxF5AcM hTqAu4MzZuaK+Uo6fb5iUeQnR2HqAfY5t3g+G3spejpGC1DQIoXdrNdaFs0krRz+ZPTL OgyZUOOEwzD7EFgLzSsmF5HW4/r1PvC/HORj1N61+qOP55Q1wBCQZCidmgB0JmTJvD7L S1lzfWZjwMxBUft31c/hPeGKsEXauUGHeKjZUa9vP/FfJpmy2v4WR8LJ64iSM5+3mXIO iSBcpONWpvJouqgCUTzbJWbt1LqMkN3bo4omInQh8frw2YaQkt+DaNs7pn7woKZyw29d CoXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=KrqYw5v/YVPg8pHaaKgqfE7Ftek55LfT9mwzzn449RM=; b=fsr5aGA0iL5BqmeLOWSqqXm3TkcLdGbCFiUww4SJybafyqAZotMC/WABJJsr50iuC1 JDQqc6t06bgU7oz696ZY31WMxKppcSdh+FffqBjkCZhYv0NID/+2sBL8r4ALYE62Md2q UdDTC2H3LmKaMkfcfnhS7aA2NvyRbbZW+kk8Y2Ws0CeCObij144JnTODmu50STwvQJ4W odqMHBljIxqE/tgre7ZOjrVbo6vEB9ISPeGvhuf+2LcnJD0CUWrjbQQlXX4IiNEHsgMp 1R/VhqAGdK7lgvege5Fvq/xLTSty78L20yCSPhJDx3VNjPNrsnriiBWgDoeU14HMD7js D3Kw== X-Gm-Message-State: AIVw113dtXAuqXdoZOm6nh0JRCmEeAK5rBZEiptC4U0q0T/tGWg/OhGO RDcsBrCrvWR79YMWK4qfEp4X3eZrYcZuXyk= X-Received: by 10.223.174.199 with SMTP id y65mr2255929wrc.182.1501866060507; Fri, 04 Aug 2017 10:01:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.212.81 with HTTP; Fri, 4 Aug 2017 10:00:44 -0700 (PDT) In-Reply-To: References: From: Esteban Gutierrez Date: Fri, 4 Aug 2017 12:00:44 -0500 Message-ID: Subject: Re: [DISCUSS] hbase-2.0.0 compatibility expectations To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary="001a114767fa0998150555f07106" archived-at: Fri, 04 Aug 2017 17:01:12 -0000 --001a114767fa0998150555f07106 Content-Type: text/plain; charset="UTF-8" Should we add additional details around replication as well? for instance, shall we consider a hbase-1.x cluster as a client for a hbase-2.x cluster? Thanks for starting this discussion Stack, esteban. -- Cloudera, Inc. On Fri, Aug 4, 2017 at 1:05 AM, stack wrote: > Thanks Zach for clarification. Let me work up a list and then come back to > this thread. Jira needs an edit pass to. > > S > > On Aug 3, 2017 23:54, "Zach York" wrote: > > This kinda helps, but these seem more like expectations. I was going more > for things like HFile format changed, meta table structure changed, > coprocessor implementations changed (these are just examples, I don't know > if any of these actually changed). > > More technical differences between branch-1 and branch-2 which then can > help us get the right expectations for compatibility. > > On Wed, Aug 2, 2017 at 6:34 PM, Stack wrote: > > > On Wed, Aug 2, 2017 at 5:25 PM, Zach York > > wrote: > > > > > Do we know what the major pain points for migration are? Can we discuss > > > that/get a list going? > > > > > > > > Here's a few in outline: > > > > + There is issue of formats, of hbase-2.x being able to read hbase-1.x > data > > whether from HDFS or ZooKeeper or off the wire. > > + An hbase-1.x client should be able to Get/Put and Scan an hbase-2.x > > cluster; no holes in the API or unintelligible serializations. > > + There is then the little dance that has us rolling restart from an > > hbase-1.x cluster to hbase-2.x; i.e. upgrade master first and then it > will > > assign regions to the new hbase-2.x regionservers as they come on line. > > TBD. > > > > Is this what you mean sir? > > > > S > > > > > > > I think without that knowledge it is hard (for me at least :) ) to > > > determine where we should set our sights in terms of migration. > > > > > > Thanks, > > > Zach > > > > > > On Wed, Aug 2, 2017 at 4:38 PM, Stack wrote: > > > > > > > What are our expectations regards compatibility between hbase1 and > > > hbase2? > > > > > > > > Lets have a chat about it. Here are some goal posts. > > > > > > > > + You have to upgrade to hbase-1.x before you can migrate to hbase-2. > > No > > > > migration from < hbase-1 (Is this too onerous? Should we support 0.98 > > => > > > > 2.0?). > > > > + You do NOT have to upgrade to the latest release of hbase1 to > migrate > > > to > > > > hbase2; being up on hbase-1.0.0+ will be sufficient. > > > > + You'll have to update your hbase1 coprocessors to deploy them on > > > hbase2. > > > > A bunch of CP API has/will change by the time hbase2 comes out; e.g. > > > > watching for region split on RegionServer no longer makes sense given > > > > Master runs all splits now. > > > > + An hbase1 client can run against an hbase2 cluster but it will only > > be > > > > able to do DML (Get/Put/Scan, etc.). We do not allow being able to do > > > admin > > > > ops using an hbase1 Admin client against an hbase2 cluster. We have > > some > > > > egregious API violations in branch-1; e.g. we have protobuf in our > API > > > (See > > > > HBASE-15607). The notion is that we can't afford a deprecation cycle > > > > purging this stuff from our Admin API. > > > > > > > > What you all think? > > > > > > > > St.Ack > > > > > > > > > > --001a114767fa0998150555f07106--