Return-Path: X-Original-To: apmail-hawq-dev-archive@minotaur.apache.org Delivered-To: apmail-hawq-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0262D17C2C for ; Tue, 16 Feb 2016 07:54:50 +0000 (UTC) Received: (qmail 95343 invoked by uid 500); 16 Feb 2016 07:54:49 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 95259 invoked by uid 500); 16 Feb 2016 07:54:49 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 95236 invoked by uid 99); 16 Feb 2016 07:54:49 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2016 07:54:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 661A9C0909 for ; Tue, 16 Feb 2016 07:54:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 7E05JOamplyg for ; Tue, 16 Feb 2016 07:54:48 +0000 (UTC) Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net [96.114.154.162]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A4D8A5FAD9 for ; Tue, 16 Feb 2016 07:54:47 +0000 (UTC) Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235]) by resqmta-po-03v.sys.comcast.net with comcast id Jvug1s00154zqzk01vugES; Tue, 16 Feb 2016 07:54:40 +0000 Received: from tpx ([83.220.238.123]) by resomta-po-11v.sys.comcast.net with comcast id JvsE1s0062gS9sK01vsNh6; Tue, 16 Feb 2016 07:52:35 +0000 Received: from localhost (localhost [127.0.0.1]) by tpx (Postfix) with ESMTP id AF78C210CE56F for ; Tue, 16 Feb 2016 10:52:13 +0300 (MSK) Date: Tue, 16 Feb 2016 10:52:13 +0300 From: Konstantin Boudnik To: dev@hawq.incubator.apache.org Subject: Re: Dependencies [Was: Build environment] Message-ID: <20160216075213.GB15300@tpx> Mail-Followup-To: dev@hawq.incubator.apache.org References: <20160212065140.GA10978@tpx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline In-Reply-To: X-Organization: It's something of 'Cos X-PGP-Key: http://www.boudnik.org/~cos/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1455609280; bh=CTb5D6Nnnh/m0y3N2CYU3FQ11lTotmvY2m6g0Anl+UI=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=quq9Daoy7q79l8DNr63JYa7NYhX1Qz4imWqauLXb8iZs1lQVkDSC7zE7WL1dAUzCT 3FWOvZYCgbFUKX1WaEq0oYCEgiSib0tiWbPVfH7IcTYrZGyGr/Jq6BwJ04W1dcX5G0 7NxbS2NNH+OpWbCWPEiZJ0NFnUBHT7b/qG4uerod8N/Z6IPmti0re36q9E2uEc8kmb HI71a7Zp/+NS0g0v1SSx7x8uzW3W7eTBFsJE9eLDessxHwxWfvPUa5xBy5NVlb8F5R Gd7qKIY1HESX8r/OgBQ/obspWcetdLav2pslncySn1cRIVQDWBXirK5dc6PA1at9D4 gRpCs6ZfLKmCA== --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 16, 2016 at 12:44PM, Lei Chang wrote: > From simplifying the build & install process standpoint, looks a good idea > to include libhdfs3 just like libyarn. Indeed. A quick look further into the code shows, that you guys mightn't ne= ed thrift-devel libraries after all, because native thrift APIs aren't used anywhere (kudos to Roman's findings). It'd be great to have these issues fixed before the release time. Here's wh= y: making an official release to have mandatory _source_ dependencies developed and hosted elsewhere doesn't sound reasonable nor safe. So, let's please address it before RC5 hits the voting floor. Thanks! Cos > On Fri, Feb 12, 2016 at 2:51 PM, Konstantin Boudnik wrot= e: >=20 > > Going through this futher. Two dependencies of HAWQ in particular seem = to > > be a > > big snag for the downstream integration. I managed to get most of the b= its > > and > > pieces into tight and compact toolchain, so that the project can be bui= ld > > on a > > generic centos, but there at least two libs that don't fit in to the > > picture. > > - libhdfs3 > > - thrift-devel > > > > From Apache Bigtop standpoint, build dependencies should be either > > available > > from the standard distro's repos; or be built from source during the > > component's package creation. Say, libyarn could be build this way. How= ever > > for the two above, either the packages not available from distros or the > > sources not provided as a part of the project dependencies (again, liby= arn > > might be considered as an example). Hence, the question to to the > > development > > community here: why libyarn is specifically included as a source > > dependency, > > but the other two aren't? Is it possible to add those to the depends/ a= nd > > improve the build to the point where they got build before HAWQ, so the > > autoconf requirements get satisfied? > > > > From the UX standpoint of view, it is a very iffi practice to have a so= urce > > tree, which has non-standard deps, that have to be downloaded and build > > separately. That is as a different software projects. Back in early 90s= I > > used > > to build software for BSD or Solaris, where you had to > > download,build,install > > 20+ different libs first, and only then you'd be able to finally start > > building what you really need. Well, it is 2016 and the Unix world is v= ery > > different now. And way more developers' friendly. I'd suggest we borrow > > from > > today's practices instead of the quarter-century old ones. > > > > libhdfs3 and libyarn are also seem to be the runtime dependencies for t= he > > HAWQ, right? Which means, that if hawq is installed as a standard packa= ge, > > then those two (and perhaps thrift) will have to be provided as package= s as > > well. Which makes the reliance on unknown 3rd party repos a big security > > no-no. > > > > So, any thoughts from the community on the steps to make this better be= fore > > the release is out? If we're to add more source code into the project - > > this > > is the perfect time to do it. > > > > Cos > > > > On Thu, Feb 11, 2016 at 12:16PM, Konstantin Boudnik wrote: > > > Looking a bit further into build dependencies it seems that the > > environment > > > relies very heavily on some 3rd party, maintained by someone and > > somewhere > > > repos and libs. While it is up to the community on how they handle th= eir > > > builds, adding repos and packages which aren't maintained in an open > > fashion, > > > won't be helping to attract new contributors. Cases in point > > > > > > - https://bintray.com/wangzw/rpm/rpm > > > - http://darcs.idyll.org/~t/projects/figleaf-0.6.1.tar.gz > > > - > > http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychec= ker-0.8.19.tar.gz/download > > > > > > This certainly will be an integration blocker for the downstream > > projects like > > > https://issues.apache.org/jira/browse/BIGTOP-2323 > > > > > > One other point (which seems a bit weird). What's the point of > > > yum install -y postgresql-devel > > > followed by > > > yum erase -y postgresql postgresql-libs postgresql-devel > > > > > > Thanks > > > Cos > > > > > > On Tue, Feb 09, 2016 at 06:06AM, Konstantin Boudnik wrote: > > > > Gents, > > > > > > > > have you considered creating and checking-in a wrapper script > > (run-build.sh or > > > > whatever) for the build, instead of writing lengthy shell-scripts in > > Jenkins? > > > > Then instead of > > > > > > > > docker run --rm=3Dtrue -v `pwd`:/data -u root rlei/mydocker:latest > > /bin/sh -c > > > > "date; \ > > > > > > > > cd /data.... > > > > > > > > [another 23 lines of shell script one has to type each time.....] > > > > > > > > one would need to run > > > > > > > > docker run --rm=3Dtrue -v `pwd`:/data -w /data -u root > > rlei/mydocker:latest run-build.sh > > > > > > > > and be done with it. > > > > > > > > Cos > > > > > > > > > > > > > > > > > > > > --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAlbC1S0ACgkQenyFlstYjhKZ8gD+Ow9S4Cmb/dvnEleKLdGzKGlm TnlMoj9ZDbhfvooMM8MBAMtECKAY6CsBnyF0DT+uJkRiQOpMP7Nt7htfacaD9Yhv =ZwlO -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--