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 085AD200C24 for ; Thu, 9 Feb 2017 07:11:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 070F8160B67; Thu, 9 Feb 2017 06:11:23 +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 51CA1160B49 for ; Thu, 9 Feb 2017 07:11:22 +0100 (CET) Received: (qmail 94588 invoked by uid 500); 9 Feb 2017 06:11: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 94575 invoked by uid 99); 9 Feb 2017 06:11:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2017 06:11:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8165A18C458 for ; Thu, 9 Feb 2017 06:11:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 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=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ql-Bi1MU4UTz for ; Thu, 9 Feb 2017 06:11:19 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6FB605F473 for ; Thu, 9 Feb 2017 06:11:18 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id l66so9418388ioi.1 for ; Wed, 08 Feb 2017 22:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=dnMvhvj25RsiUGM/nDFLUijAeL+R7Gyjw/i++jPlj2g=; b=Ud2Got0DlsBN3vyKmbGgkGxUiAgAdruPTXrUspp83nfNxkS63FehuurdwKN3x/96MR u7cwenQVXx87KcXn/h/S049KaJ++J6zKcDY0LbzvCnIPI1t5F2mP7Gx+qdYidbUCZNvO 20vo1qThwB0e7QOCW0xW2BKj5y3CIan6hH6b00PHqDrPiYRqXlU9vesMPszouXRpsPlJ 8CM3uED70HSukPii5990248Mjm0cLoECHIVfYJRZxjjDdcVXgNTTI0kyxIlKLUi7KSzZ MAGeZ9rqgA2VdIS3OFFogX1yoaAOhY6HtihMgobvOGbYHRQMX6oSVZola0JL2SL+TrUA dv6Q== 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=dnMvhvj25RsiUGM/nDFLUijAeL+R7Gyjw/i++jPlj2g=; b=rLKZvxFKgBtUqNEtcRwon8ELNPnNJJDSErU01GvmQlZQObROem9jYRjffIPvM6yO5S Tt7o/R00rVG0ISjCHfGuPsvz8ol1fkx6/J/N/163ektS1uBHXg8XxSM6EmAdaJfKMGFJ Irqty/4X1zdX1ZfFK1WPqu/GX68B6RtXgkxzvXrLnYF4K6B3pFr8T6OTJPjINnWutQbr 4O+CBLtKSAn+sLM9/f/4qzNONai5Tnr3EjlEnDH5w6zNP/Iaj8iDNFHDMrA3fT2xy037 1+sqtL6Z25H3lk8bWpjC3JOttz/sq4iyrat2Ev+UpZ0nuKhqC2wbz8o0QfdWHVqERQzj hzgA== X-Gm-Message-State: AMke39lpXhJoBpSlO5A/m/Z8l4is11vQSQg3d+/WRXVZQchU2mo4frDXbRNcQ5adBDoLxg+7I7TxvIfEt4UXOg== X-Received: by 10.107.48.210 with SMTP id w201mr1700696iow.89.1486620675974; Wed, 08 Feb 2017 22:11:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.154.1 with HTTP; Wed, 8 Feb 2017 22:10:55 -0800 (PST) In-Reply-To: References: From: Jerry He Date: Wed, 8 Feb 2017 22:10:55 -0800 Message-ID: Subject: Re: [DISCUSSION] Upgrading core dependencies To: dev Content-Type: multipart/alternative; boundary=001a114448424ed789054812d95d archived-at: Thu, 09 Feb 2017 06:11:23 -0000 --001a114448424ed789054812d95d Content-Type: text/plain; charset=UTF-8 I was more on the thinking to avoid/reduce pulling in hbase dependencies into hbase-spark, and that maybe even hbase-spark can depend on shaded client and server -- it will be easier and more feasible if the shaded client becomes the default as you mentioned. Your idea that hbase-spark itself becomes a shaded artifact sounds better if I understand you correctly. The spark/scala dependencies are 'provided' already. Jerry On Wed, Feb 8, 2017 at 6:14 PM, Nick Dimiduk wrote: > On Wed, Feb 8, 2017 at 10:24 AM Jerry He wrote: > > > Yeah. Talking about the dependency, the hbase-spark module already has > > dependency on hbase-server (coming from the spark bulk load producing > > hfiles). > > This is not very good. We have to be careful not entangling it more. > > Also, there is already problem running the hbase-spark due to dependency > > conflict, and one has to be careful about the order of the classpath to > > make it work. > > We own the hbase-spark module, do we not? In that case, we control our own > destiny. An explicit goal of this effort would be to make use of that > module agnostic to classpath load order. As per my earlier reply, > hbase-spark could itself be an artifact shaded over hbase-server and all of > its dependencies. That way the user doesn't need to think about it at all. > > It further seems to me that the maven-shade-plugin could gain a new analyze > goal, similar to the that of the dependency-plugin, which would audit the > classes packaged in a jar vs the contract defined in configuration. This > could further be used to fail the build of there's any warnings reported. > I've found myself wanting this very functionality as I consume ES and > Phoenix, shaded in downstream projects. > --001a114448424ed789054812d95d--