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 705B9200C80 for ; Thu, 25 May 2017 19:07:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6EEF3160BCA; Thu, 25 May 2017 17:07:01 +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 8ED28160BB4 for ; Thu, 25 May 2017 19:07:00 +0200 (CEST) Received: (qmail 62425 invoked by uid 500); 25 May 2017 17:06:59 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 62413 invoked by uid 99); 25 May 2017 17:06:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2017 17:06:59 +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 1D919C0096 for ; Thu, 25 May 2017 17:06:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.98 X-Spam-Level: * X-Spam-Status: No, score=1.98 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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com 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 36IsNKqEwoCf for ; Thu, 25 May 2017 17:06:57 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 96A145FD94 for ; Thu, 25 May 2017 17:06:56 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id 123so35219811wmg.1 for ; Thu, 25 May 2017 10:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ua/u5qPDSl2s5/44oLe2b827qw5iMsNtip7hu49YYBg=; b=kEy8UY8v+ESkX+/5TTf7NeFWkIIdknMajh+85e6a5N+H6y/r26XD9d/Mesuv+3T+qa pMhoo0QixnrtX5jfwP2JnbtAjzkz6dLdUCRDqflxJtbUiBk/NLJgq5TdQRrXsf2bVBJv yaFVCnsjrqmfPLcWyS16Ex5y8VvuT5RnEJ8LX48QT3YAQGjn12Zfry/n+s0BAfoyBGF5 SPXuqyH7VpGz9iyjNl/Fdkon7DzrN6ppFMsrxuBjCiacrSPFbo5Xx78Xf0p7tTG22rgh MfWUEV57Fxd9UkKmaSZFPKPdE7Kae7ianvMacotCDB0BYQh/2cRf4RCcPL9whto3AyZZ 8pzw== 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=Ua/u5qPDSl2s5/44oLe2b827qw5iMsNtip7hu49YYBg=; b=eAgLqS/v8m89eZf8ioelbLphI7kbF56Ew2zIs9aFOcZGcircnJr76jweb2jMyybzI9 JZ8bfeW8/RUs61XLqFYSvGJJHV4ciQXF1qF+lchvYlLKVUpeGerWyvaD7aoaGs906CMQ OmCjS+mUg4pQhjYucOL5A7B8+JLu13VuxOrczposyzoOpdzgkqx8dyR1crl787cljKmB n+7jitfDm9Vnjs3yuQYBbcKo8Fon7YcXw6YF0URjnrymh3CeL+cSyUeIEBwkRku8HO53 vHEJMcapd7wnntZ+79CSPKcVFTzli1xONJe4ZL106Mg6wziza3AMFF5LNc6oPDM1BurN d8xg== X-Gm-Message-State: AODbwcAu8E86enqBkMKDOGq+YjZrli9oxEmlJFq9xG3ZTJJKpA15+0zY azOBZqIhJi9tVrMj96g6FE2FrzR0YbcGG30= X-Received: by 10.28.165.80 with SMTP id o77mr10927332wme.109.1495732014131; Thu, 25 May 2017 10:06:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.146.67 with HTTP; Thu, 25 May 2017 10:06:13 -0700 (PDT) In-Reply-To: References: From: Sailesh Mukil Date: Thu, 25 May 2017 10:06:13 -0700 Message-ID: Subject: Re: GVO machines dependencies To: dev@impala.incubator.apache.org Content-Type: multipart/alternative; boundary="001a114b381261da2305505c3fb9" archived-at: Thu, 25 May 2017 17:07:01 -0000 --001a114b381261da2305505c3fb9 Content-Type: text/plain; charset="UTF-8" Glad I could help! The fix is merged now: https://github.com/awleblang/impala-setup/commit/1fcff44887de76fdb5f86948635c073d0e615f1c On Thu, May 25, 2017 at 10:00 AM, Laszlo Gaal wrote: > Thanks a lot for fixing this, Sailesh, this has been bugging me for a while > when spinning up cloud-based workstations. > > On Thu, May 25, 2017 at 6:18 PM, Jim Apple wrote: > > > Nice find, Sailesh! > > > > On Wed, May 24, 2017 at 6:39 PM, Sailesh Mukil > > wrote: > > > The issue was that there was a bug in the install.sh script from the > > > impala-setup/ repo that always assumed that the repo would reside in > > > /home/$user. > > > > > > The Jenkins AMIs seem to have had a very old checkout (8 months old) at > > > /home/ubuntu/ which was being used for the GVOs. The Jenkins job would > > make > > > a fresh checkout in /tmp/ and run install.sh from that checkout. But > due > > to > > > the above bug, the script would change its sources to the old repo in > > > /home/ubuntu. So, the new dependencies added to the project didn't get > > > picked up. I've submitted a fix, and will redo the GVO once it's merged > > > into impala-setup. > > > > > > Thanks for your help Michael and Jim! > > > > > > On Wed, May 24, 2017 at 4:58 PM, Michael Brown > > wrote: > > > > > >> "from-scratch" is a misnomer: only the first build to run on a given > > node > > >> is truly from-scratch, because running impala-setup takes effect > > >> system-wide, and is run once, when the node is created. > > >> > > >> For http://jenkins.impala.io:8080/job/ubuntu-14.04-from-scratch/1371/ > , > > >> the > > >> worker's build history suggests it has been up roughly 17 hours. > > >> http://jenkins.impala.io:8080/computer/ub1404-c4.4xl-gp2%20( > > >> i-0d76efbc8de26926c)/builds > > >> This means your recent change hasn't taken effect on "older" workers. > > >> > > >> Any new workers that get created should get the change. > > >> > > >> > > >> > > >> > > >> > > >> On Wed, May 24, 2017 at 4:34 PM, Sailesh Mukil > > >> wrote: > > >> > > >> > Thanks Michael and Jim, > > >> > > > >> > It looks like adding to bin/bootstrap_build.sh makes the > > ub14-build-only > > >> > job work fine, however, updating the impala-setup still doesn't seem > > to > > >> > work. I submitted a pull request that was merged by Dimitris here: > > >> > https://github.com/awleblang/impala-setup/commits/master > > >> > > > >> > Also, the impala-setup chef logs don't seem to get printed in the > > jenkins > > >> > console output. So I'm not sure if it's actually being run or not. > > >> > > > >> > On Wed, May 24, 2017 at 3:37 PM, Michael Brown > > >> wrote: > > >> > > > >> > > Thanks Jim; I had forgotten bin/bootstrap_build.sh. > > >> > > > > >> > > On Wed, May 24, 2017 at 3:14 PM, Jim Apple > > >> wrote: > > >> > > > > >> > > > I'd recommend against #2 using the node setup to install Impala > > >> > > > dependencies. The only reason it installs openjdk is that > Jenkins > > >> > > > needs Java to talk to it. All of the other Impala dependencies > are > > >> > > > installed in the jobs themselves. > > >> > > > > > >> > > > On Wed, May 24, 2017 at 3:11 PM, Michael Brown < > > mikeb@cloudera.com> > > >> > > wrote: > > >> > > > >> Is there a way to add a new dependency to these machines? > > >> > > > > > > >> > > > > Our builds use two worker labels: > > >> > > > > 1. ubuntu14.04-c4.4xlarge-gp2 > > >> > > > > 2. ub14-build-only > > >> > > > > > > >> > > > > 1 uses https://github.com/awleblang/impala-setup, and I think > > you > > >> > > should > > >> > > > > add libffi to there. It's something you should do anyway so > new > > >> users > > >> > > get > > >> > > > > set up with the right dependencies. > > >> > > > > > > >> > > > > 2 is a different story, but I see that at > > >> > > > > http://jenkins.impala.io:8080/configure that worker is > already > > >> > > > installing a > > >> > > > > JDK via apt-get. You could use a similar pattern to install > > libffi. > > >> > > > > > >> > > > > >> > > > >> > > > --001a114b381261da2305505c3fb9--