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 F16E0200CC3 for ; Sat, 1 Jul 2017 00:09:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EFF9F160BF6; Fri, 30 Jun 2017 22:09: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 1BE98160BEB for ; Sat, 1 Jul 2017 00:09:21 +0200 (CEST) Received: (qmail 66357 invoked by uid 500); 30 Jun 2017 22:09:21 -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 66343 invoked by uid 99); 30 Jun 2017 22:09:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2017 22:09:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 48EF3CEE2E for ; Fri, 30 Jun 2017 22:09:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DMsF76UrbW_I for ; Fri, 30 Jun 2017 22:09:19 +0000 (UTC) Received: from mail-yb0-f177.google.com (mail-yb0-f177.google.com [209.85.213.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E874A5F2FD for ; Fri, 30 Jun 2017 22:09:18 +0000 (UTC) Received: by mail-yb0-f177.google.com with SMTP id 84so42211394ybe.0 for ; Fri, 30 Jun 2017 15:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=LVQRCPVNqNL3Soada/BIM0xPWZFd8lRCLzPHgzys1vA=; b=rJuyrNERgmcjwmuYlWITIeEAnsiehpEM5wmzvfuGdvATsZYyDGepHy1Dbk6Qzq+RVi vVPpMwHjvTFo6Q64bdaBWgalShcWBJy0vx/gzFvphvBlm1wB/E+/ljDY7pWSIwNTW/LS G6CxZUSu19miTUboBfD3Tlw7ri27D/i8lOA5X6iQ49LWqY+VWoe82CBl3E7YT4GnC84s 63DSlyH2pwUNjriv4uiWXCGk8gjEJMqvpfWHb/61nGj4ZOU/gNda/CTO+QtXd+vW6iif sfsnFfhX2faAV4REzWrMTGW9Eq6XG4kaxt+W7EOn11C2Sx2ep8e/U7WJ+F2cJ3TT9KlB Kesg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=LVQRCPVNqNL3Soada/BIM0xPWZFd8lRCLzPHgzys1vA=; b=ZZu+buFu/hhiO5Mjazvn21cBNmklLbpIHJG+zYZ0EUtmiZbdoR4xMOPRwp9SgdP2vc e7Vtafn3/rO9/VouI2ol69hHI1/yvit0tHXQP1xtLdAR2tGmrWTnKs4lh9FDLd3/4g0S BXc7e6xjB2PI8gBEbDrXE5tit3SRHZ+zs+T2mSYK8P0v2rA+khjPoqqp5YOi1zRcSyV+ HtyCfSVw/mSPhQLICjogFn33RQY6WxMxVu5Maav4s70GsEn3w/sIwX5eVsfM+MBW2h03 xhewHdd77l40tqq8Lk2QNe30h0DlJZOYBQMkUsqAB2K0clKRWi+n4hTq3fhb3bu+eQbr RWJQ== X-Gm-Message-State: AKS2vOy7zf34XUJHHE4HlxVWsnM/IeB/UB69YxU8ptOdRVZFUiMNWTr9 8u/Qp33zoRbTZafVGUioMTiKEios4ZY4 X-Received: by 10.37.219.208 with SMTP id g199mr19348702ybf.195.1498860558334; Fri, 30 Jun 2017 15:09:18 -0700 (PDT) MIME-Version: 1.0 Sender: saint.ack@gmail.com Received: by 10.37.69.132 with HTTP; Fri, 30 Jun 2017 15:09:17 -0700 (PDT) In-Reply-To: References: <35A15B2D-07EF-445A-9CA8-11BF47C72871@gmail.com> <58EE462D.1070206@apache.org> <58F00DD3.6070105@apache.org> <3d02162c-6f38-6f26-67f2-ab44f58993c5@gmail.com> From: Stack Date: Fri, 30 Jun 2017 15:09:17 -0700 X-Google-Sender-Auth: IBGBEmuTaDeDK_AvQHbGpLCzE7k Message-ID: Subject: Re: [DISCUSS] More Shading To: HBase Dev List Content-Type: multipart/alternative; boundary="94eb2c186ba425c4c3055334ab97" archived-at: Fri, 30 Jun 2017 22:09:23 -0000 --94eb2c186ba425c4c3055334ab97 Content-Type: text/plain; charset="UTF-8" I just started a VOTE on hbase-thirdparty and the first RC made from it. Thanks, St.Ack On Tue, Jun 27, 2017 at 3:02 PM, Stack wrote: > Bit of an update. > > I'd suggest we go ahead w/ the hbase-thirdparty project [2]. It took a > while but in its current form -- a few poms that package a few jars [1]-- > it at least enables the below: > > + Allows us to skip checking in protobuf generated files (25MB!); they can > be generated inline w/ the build because the hackery patching protobuf has > been moved out to hbase-thirdparty. There is a patch up on HBASE-17056. > + Update our guava from 12.0 to 22.0 w/o clashing w/ the guava of others. > There is a patch at HBASE-17908. It is taking a bit of wrangling getting it > to land because I pared back transitive includes from hadoop and it takes a > while to work through the failures. > > Other benefits are the protobuf-util lib is on the classpath now -- its in > hbase-thirdparty relocated; depends on pb and guava -- so we have facility > to goat "HBASE-18106 Redo ProcedureInfo and LockInfo" and shading netty is > almost done so we can do with netty as we wilt independent of hadoop and > downstreamers (the hard part -- relocation of the .so -- should be done). > > Let me figure how to run a vote for a couple of poms..... > > St.Ack > > 1. https://repository.apache.org/content/groups/snapshots/ > org/apache/hbase/thirdparty/ (see hbase-shaded-thirdparty and > hbase-shaded-protobuf) > 2. https://git-wip-us.apache.org/repos/asf/hbase-thirdparty > > > On Tue, Jun 20, 2017 at 11:04 AM, Josh Elser wrote: > >> On 6/20/17 1:28 AM, Stack wrote: >> >>> On Thu, Apr 13, 2017 at 4:46 PM, Josh Elser wrote: >>> >>> ... >>>> >>>> I think pushing this part forward with some code is the next logical >>>> step. >>>> Seems to be consensus about taking our known internal dependencies and >>>> performing this shade magic. >>>> >>>> >>>> I opened HBASE-18240 "Add hbase-auxillary, a project with hbase utility >>> including an hbase-shaded-thirdparty module with guava, netty, etc." >>> >>> It has a tarball attached that bundles the outline of an hbase-auxillary >>> project (groupId:org.apache.hbase.auxillary). This project is intended >>> to >>> be standalone, in its own repository, publishing its own artifacts under >>> the aegis of this project's PMC. >>> >>> It includes the first instance of an auxillary utility, a module named >>> hbase-thirdparty-shaded (artifactId:hbase-thirdparty-shaded). Herein >>> we'll >>> pull down 3rd party libs and republish at an offset; e.g. >>> com.google.common.* from guava will be at >>> org.apache.hbase.thirdparty.shaded.com.google.common.*. Currently it >>> builds >>> a jar that includes a relocated guava 22.0. >>> >>> I then messed around making hbase-common use it (You have to build the >>> hbase-auxillary into your local repo). I put up a patch on the issue. >>> Mostly its mass find-and-replace w/ some clean up of transitive includes >>> of >>> guava from hadoop-common and some small fixup of methods renamed between >>> guava 12.0 and 22.0. >>> >>> Unless objection, I was going to press on. Sean offered to help set up >>> new >>> repo. We can always undo and delete it if this project fails. >>> >>> When done, the hope is we are on a modern version of guava and our netty >>> and protobuf 3 will be be relocated, 'hidden' from downstream (and won't >>> clash w/ upstream). I hope to also purge the pre-build we have in our >>> modules that do protobuf moving this hackery out and under >>> hbase-thirdparty-shaded. >>> >>> St.Ack >>> >> >> Kudos on the JFDI approach :). I think having something concrete to show >> is the best way to judge success of it. >> >> Will keep an eye on HBASE-18240. >> >> > --94eb2c186ba425c4c3055334ab97--