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 799CF19951 for ; Tue, 26 Apr 2016 07:51:32 +0000 (UTC) Received: (qmail 41285 invoked by uid 500); 26 Apr 2016 07:51:32 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 41222 invoked by uid 500); 26 Apr 2016 07:51:32 -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 41210 invoked by uid 99); 26 Apr 2016 07:51:32 -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; Tue, 26 Apr 2016 07:51:32 +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 961FE180361 for ; Tue, 26 Apr 2016 07:51:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zsJKP00Iw7mp for ; Tue, 26 Apr 2016 07:51:29 +0000 (UTC) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D02B55F250 for ; Tue, 26 Apr 2016 07:51:28 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id bg3so3176179obb.1 for ; Tue, 26 Apr 2016 00:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7rFtsEbotV87m7MKhh/ro9TFfKtMRH8MnFexlCH4blo=; b=RG8y4CcdLKmo14OzZOpfR/oOHZLdwtrlTbEtv4KOhu66wminkxfAL3otHotJ45RW5u 9Defwyr54VhgWrUrk/KNB4nx7UFALJjCJU2cKR4Xc8RUfc3HqpAnhIpDf9GuO51StLnR yJNmMnQ0MPl6v+sad8Xo5DDejTVny/Ruaq2IX3kOnkQlROqZPtezc33Ss66RVib2xv3q CthVl6IkBx1xrKHNX+9gU5aOMIaLI+FlHfrrrpBHBbQNpjUgZhCLW97G9yCMUu50cP7j AT10F21kqj1lk5eZM8fjwsteL4PpvX1JuMF0wP9hx1UCsoUyVGk1tEVRgK4mR4740NzM 0BPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7rFtsEbotV87m7MKhh/ro9TFfKtMRH8MnFexlCH4blo=; b=aJ0yELsCtQs6FaBizpZ4v/M9+4TwZ8FtNYJRXryeSGttoCrQ9WGORDgUJweENcwEdk tX4lzXETXbq238rCStpTx5sQYcixvuLsvFBLeAiuOVa5/Nobst9aHK71E/RJiEQPvXn2 S1yTXfcpg84o5Mis8nnVpNSycvb593iOhEshHtaI9tiVXPkULaJ5xjobdGDf7o7oW6Eh i1zC+Q06vNmTWDpUr+RFhfVOBd0jHRbTzVPEtLv18AQ941/mhXaPSzMBpd1hNQRNPNmF +tEe7PvhFWPnbScesIWID3OBww4Gzeu5wUbUQi1RODdKLlAAYN7apU8fGfymwBiJ4wy9 djyw== X-Gm-Message-State: AOPr4FUs5iV3P2k3X+xgaP9yno3eenP7bpyAsF1UNecy7fa59SUzN4B6xu6pnI28VSr1UkNJv0Zs0c7k8Kk1uH/y X-Received: by 10.182.146.37 with SMTP id sz5mr413400obb.24.1461657082391; Tue, 26 Apr 2016 00:51:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.0.74 with HTTP; Tue, 26 Apr 2016 00:51:03 -0700 (PDT) In-Reply-To: <20160425195650.GR7841@tpx> References: <20160425195650.GR7841@tpx> From: Radar Da lei Date: Tue, 26 Apr 2016 15:51:03 +0800 Message-ID: Subject: Re: HAWQ integration to Apache bigdata stack: remaining steps To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=f46d04462dae2e02c105315e8f59 --f46d04462dae2e02c105315e8f59 Content-Type: text/plain; charset=UTF-8 Hi Konstantin, Thanks for list these items out. For 'External dependencies' part, do you mean 'libthrift' or 'libhdfs'? I see all the links above point to libhdfs. 1. If you mean 'libhdfs', now it's already in HAWQ's source code, it is located in 'depends/libhdfs3', we should build it as the same as libyarn does. 2. If you mean thrift, I didn't get what make it different with other dependencies. Would you please specify the details need to be done? For "Deployment" part: 1. Sure we can try to make 'master' and 'segment' to do init/start/stop without pasword-less. But initialize standby node will require to synchronize files with master. Any advice how should we handle standby? Now HAWQ-469 is tracking this, would you share the status, maybe we can assist on this to speed it up. 2. Another question is if "remove password-less" is only required during hawq installation/initialization(deployment)? Is it required to our other management tools, e.g. 'hawq config/check/scp/ssh/...', these tools will not function without password-less. Thanks. Regards, Radar On Tue, Apr 26, 2016 at 3:56 AM, Konstantin Boudnik wrote: > guys, > > I wanted to put together a list of remaining steps needed before we can > declare Hawq to be a good citizen of Apache Bigtop (aka Apache bigdata > stack). > > I have put together a JIRA [1] to track these points, and here's the gist > of > it for the reader's convenience. Please ping me if you have any questions > or > follow up questions. > > Regards, > Cos > > The overview of the remaining steps and the overall status of the > integration work. > > *External dependencies* > - the biggest issue was and remains the use of libthrift, which isn't > packaged, > provided nor supported by anyone. Right now, Bigtop-HAWQ integration branch > [uses| > https://git-wip-us.apache.org/repos/asf?p=bigtop.git;a=blob_plain;f=bigtop_toolchain/manifests/libhdfs.pp;hb=refs/heads/BIGTOP-2320 > ] > my own pre-built version of the library, hosted > [here| > https://bintray.com/artifact/download/wangzw/deb/dists/trusty/contrib/binary-amd64 > ]. > However, this is clearly an insecure and has to be either solved by HAWQ > adding > this dependency as the source; or by convincing Bigtop community that > hosting > libthrift library is beneficial for the community at large > > *Packaging* > - overall, the packaging code is complete and is pushed to the Bigtop > branch > (see link below). Considering that the work has been completed about 5 > weeks > ago and was aimed at the state of trunk back in the March, there might be > some > minor changes, which would require additional tweaks > - libhdfs library code (if already included into HAWQ project) might > require > additional changes to the packaging code, so the library can be produces > and > properly set in the installation phase > - Bigtop CI has jobs to create CentOS and Ubuntu packages (linked from the > BIGTOP-2320 below) > > *Tests* > - smoke tests need to be created (as per BIGTOP-2322), but that seems to > be a > minor undertaking once the rest of the work is finished > - packaging tests are required to be integrated into Bigtop stack > BIGTOP-2324 > > *Deployment* > - deployment code is completed. However, it needs to be extended to > property > support cluster roles and to be linked to the main {{site.pp}} recipe > - because real-life deployment can not rely on in-house python wrappers > using > passwordless-ssh, the lifecycle management and initial bootstrap are done > directly by calling into HAWQ scripts, providing such functionality. It is > possible that some of these interfaces were updated in the last 6 weeks, so > additional testing would be needed. > - it should be responsibility of the HAWQ to provide a concise way of > initializing a master, segment, and so on without a need for password-less > ssh, > which is suboptimal and won't be accepted by Bigtop community as it is > breaks > the deployment model > > *Toolchain* > - toolchain code is completed in the bigtop branch. This will allow to > build > HAWQ in the standard Bigtop container available for the CI and 3rd party > users > - toolchain code needs to be rebased on top of current Bigtop master. and > possible conflicts would have to be resolved > - once the integration is finished, Bigtop slave images will have to be > updated > to enable automatic CI runs > > > [1] https://issues.apache.org/jira/browse/HAWQ-706 > --f46d04462dae2e02c105315e8f59--