Return-Path: X-Original-To: apmail-bigtop-user-archive@www.apache.org Delivered-To: apmail-bigtop-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96D3510CF0 for ; Wed, 11 Feb 2015 12:57:30 +0000 (UTC) Received: (qmail 82441 invoked by uid 500); 11 Feb 2015 12:57:30 -0000 Delivered-To: apmail-bigtop-user-archive@bigtop.apache.org Received: (qmail 82366 invoked by uid 500); 11 Feb 2015 12:57:30 -0000 Mailing-List: contact user-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bigtop.apache.org Delivered-To: mailing list user@bigtop.apache.org Received: (qmail 82356 invoked by uid 99); 11 Feb 2015 12:57:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 12:57:30 +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 jayunit100.apache@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 12:57:04 +0000 Received: by mail-qa0-f46.google.com with SMTP id n4so2378331qaq.5 for ; Wed, 11 Feb 2015 04:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=VoYf82AsWOlNgK/wzM14YNvHQnuPxX5fZwb2/D9VmK0=; b=WPqXByAbE1C90mrq705RY+oVaS0155l5KTN5yvQdOq++MItwGxxR/L7jsUqI+0OE+X VWAQriDxYf75GkSd5y5JRm4UZaejbyjvlPL/8dyHXhv6W6UGwhRgsrX4cP883q+pTIB6 86ATGyrIIgNgT/EuLVQzX0as21LMx609Dxfg/SNEg8sZoNDVbiQLH8XvqttTZEWHyn7R XfiCmuckX0gPQI8ypMJn7/HUaAYDuiNmjzYlOLL+0BAsWANLBePmQ5qQOHbvFTPn87nu 72v7jkLn7UsfXR1AnsJCoXOzawEZyA372f03npBTBfuXZT1wU89hvl8Re1empqO2Rhkq VAWQ== X-Received: by 10.229.18.9 with SMTP id u9mr64762420qca.19.1423659377852; Wed, 11 Feb 2015 04:56:17 -0800 (PST) Received: from [192.168.1.120] ([73.17.95.215]) by mx.google.com with ESMTPSA id y2sm639647qae.47.2015.02.11.04.56.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Feb 2015 04:56:16 -0800 (PST) From: Jay Vyas Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: BIGTOP-1x branch.. Do we need multitenancy systems? Message-Id: <2CE9C39B-B544-4E14-9577-477F60A69323@gmail.com> Date: Wed, 11 Feb 2015 07:56:15 -0500 References: <20150211011905.GC4732@boudnik.org> <54DB0F1E.7070902@bmahe.net> In-Reply-To: <54DB0F1E.7070902@bmahe.net> To: "user@bigtop.apache.org" X-Mailer: iPhone Mail (12B466) X-Virus-Checked: Checked by ClamAV on apache.org makes sense to me; This should help me to picture where bigtop is headed for= the next several months. So I guess the answer is "yes : we still beleive in multitenant packaging an= d systems". Thanks for all the feedback! > On Feb 11, 2015, at 3:13 AM, Bruno Mah=C3=A9 wrote: >=20 >> On 02/10/2015 10:05 PM, Roman Shaposhnik wrote: >>> On Tue, Feb 10, 2015 at 6:00 PM, RJ Nowling wrote: >>> Can we articulate the value of packages over tarballs? In my view, pack= ages >>> are useful for managing dependencies and in-place updates. >> In my view packages are the only way to get into the traditional IT deplo= yment >> infrastructures. These are the same infrastructures that don't want to to= uch >> Ambari at all, since they are all standardized on Puppet/Chef and traditi= onal >> Linux packaging. >>=20 >> There's quite a few of them out there still, despite all the push of >> Silicon Valley >> to get everybody to things like Docker, etc. >=20 > +1. >=20 > I like docker and it is a very nice project. But it is not going to be an e= nd in itself. > Companies will continue to have various hosts, going from bare metal to di= fferent clouds providers (SaaS, PaaS...), docker included. >=20 > Aside from that, using packages provide so many benefits over tarballs: > * Packages have some metadata so I know what file belong where and how and= what version > * all the dependencies are specified in it. Which makes it easier to reuse= even across docker files. This includes system dependencies as well (ex: wh= o depends on psmisc? why? can it be removed now that we updated Apache Hadoo= p?) > * it enables us to respect the Single Responsibility Principe and to satis= fy everyone, folks using bare metal as well as cloud technologies users > * some patches may still need to be applied for compatibility/build reason= s. Using packages makes that easier > * It provides a deep integration with the system so "it just works". Users= are created, initscripts setup, alternatives setup, everything has the righ= t permissions... > * It makes it dead easy when I want to build multiple variants of the same= image since everything is pulled and setup correctly. If I were to manually= unpack tarballs, I would have to take care of that manually and also it wou= ld take a lot more space than the package equivalent unless I spend a lot of= time deleting internal parts of each component. Example: I want hadoop clie= nt and fuse only for a variant. >=20 > Note that this could also be done with tarballs as well, but that would re= quire a lot of duplication of command lines, trials and errors and wouldn't b= e as maintainable. >=20 > In conclusion, even if Apache Bigtop was to focus on docker, building pack= ages would be much better than dropping them and going toward a 'tarball' ap= proach. Packages would not only be more maintainable, satisfy more use cases= but would also provide an abstraction layer so the docker files could focus= on the image itself instead of setting up the various combinations of Apach= e Hadoop components. > =46rom a 10 000 ft view and in the big lines, docker is not much different= than vagrant or boxgrinder. For those tools, having the recipe using the pa= ckages was simplifying a lot of things and I don't see why it would be diffe= rent with docker. >=20 >=20 >>> Related question: what are BigTop's goals? Just integration testing? >>> Full blown distro targeted at end users? Packaging for others to build d= istros on top of? >> All of the above? ;-) Seriously, I think we need to provide a way for con= sumers >> of bigdata technology to be able to deploy it in the most efficient >> way. This means >> that we are likely to need to embrace different ways of packaging our stu= ff. >>=20 >> Thanks, >> Roman. > +1 again >=20 > Another way to put it is to make the Apache Hadoop ecosystem usable. > That includes making it consumable as well as verifying that it all works t= ogether. > Packages have been the main way to consume such artifacts, but we have alw= ays been opened to other ways (see vagrant and boxgrinder). We even had at s= ome point a kickstart image to build bootable usb keys with an out of the bo= x working Apache Hadoop environment :) >=20 > If tomorrow packages become obsolete, I don't see why we could not drop th= em. But I think we are still far from that. >=20 >=20 > Thanks, > Bruno