Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95E58C5B7 for ; Wed, 16 May 2012 20:01:19 +0000 (UTC) Received: (qmail 4898 invoked by uid 500); 16 May 2012 20:01:19 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 4732 invoked by uid 500); 16 May 2012 20:01:18 -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 4653 invoked by uid 99); 16 May 2012 20:01:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 20:01:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shaposhnik@gmail.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bk0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 20:01:12 +0000 Received: by bkcjm19 with SMTP id jm19so1328472bkc.14 for ; Wed, 16 May 2012 13:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8wE16Kf3ngEePpiDB5RZJe2cVXOvdM4aHkeoIn0VbBo=; b=WgTDaDHcp7hnXbwSvvJGi/9IKoSRZgX7n2J5hisnfCQ5sR92Gzlq9GnLxpHjMwl+bW CZmpCBer3EScst28hxMrsOQWI+zpb4f37ZTTWD7ZqFaIWtWVSnOl8mwNAvVzvgAozJVS ZXdRcyDtJGBfJkMqG6jot3abIblowRfZpHBtDwNKaDl4R4kbQMycl3iSh5p+3twDZSoA loUAx6S+k5TfkZVX97yoHwR2k2eoW/Q5McdJ3oaIZNETWmcexzQNeGZSmtVHpmGYh/5w K/THRn1w+iGVdVsWXOhBV6veO0XyVjMbwF1IAeCvv2BD2nVkWNnuw3qsLTy4sBKHpu6m YLJw== MIME-Version: 1.0 Received: by 10.204.155.131 with SMTP id s3mr1677959bkw.124.1337198451891; Wed, 16 May 2012 13:00:51 -0700 (PDT) Sender: shaposhnik@gmail.com Received: by 10.204.172.137 with HTTP; Wed, 16 May 2012 13:00:51 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 May 2012 13:00:51 -0700 X-Google-Sender-Auth: TCdVe_5_AA5oaopkeVt9RacmAI0 Message-ID: Subject: Re: Publishing jars for hbase compiled against hadoop 0.23.x/hadoop 2.0.x From: Roman Shaposhnik To: dev@hbase.apache.org Cc: bigtop-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 +Bigtop On Wed, May 16, 2012 at 12:50 PM, Alejandro Abdelnur wrote: > A while ago I've raise this issue in Pig > > This is an issue that most if not all projects (hbase, pig, sqoop, > hive, oozie,...) based on Hadoop will face. > > It would be great if all these projects come up with a consistent way > of doing this. > > Any idea how to tackle it? Starting the discusion all dev aliases? This is something we've pondered in Bigtop. Our current thinking is that while it is probably Ok to lean on the "leaf-node" (think Pig, Hive, to some extend HBase) projects to at least take Hadoop compatibility into account, the full problem is going to combinatorically explode pretty soon. Take Hive as an example -- for that project just taking care of Hadoop is not enough, if there are incompatiblities between HBase release Hive needs to publish HxB matrix of artifacts where H is the # of incomp. Hadoop versions and B is the # of incomp. HBase versions. And that doesn't take into account the fact that Hive might be interested in publishing different artifacts to begin with (think -security artifacts in HBase). This gets pretty ugly pretty quickly. Oh, and don't forget that somebody has to test all of the above. Now, it seems like in Bigtop we're going to soon expose the Maven repo with all of the Maven artifacts constituting a particular Bigtop "stack". You could think of it as a transitive closure of all of the deps. built against each other. This, of course, will not tackle an issue of a random combination of components (we only support the versions of components as specified in our own BOM for each particular Bigtop release) but it will provide a pretty stable body of Maven artifacts that are KNOWN (as in tested) to be compiled against each other. If this sounds interesting and useful for upstream projects -- I'd invite the continuation of this discussion to happen on bigtop-dev@. Thanks, Roman.