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 4E95F200C3A for ; Fri, 3 Mar 2017 01:12:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4D211160B7A; Fri, 3 Mar 2017 00:12:48 +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 9770B160B6F for ; Fri, 3 Mar 2017 01:12:47 +0100 (CET) Received: (qmail 36105 invoked by uid 500); 3 Mar 2017 00:12:46 -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 36091 invoked by uid 99); 3 Mar 2017 00:12:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 00:12:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0A894C0084 for ; Fri, 3 Mar 2017 00:12:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.481 X-Spam-Level: ** X-Spam-Status: No, score=2.481 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, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CpePcsy24yNq for ; Fri, 3 Mar 2017 00:12:44 +0000 (UTC) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A45F15F29C for ; Fri, 3 Mar 2017 00:12:44 +0000 (UTC) Received: by mail-qk0-f181.google.com with SMTP id 1so32852644qkl.3 for ; Thu, 02 Mar 2017 16:12:44 -0800 (PST) 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=C8z8olCv/Wf04D2syaNYhP0pz40rdOLoH/ddE5sGd+s=; b=dWba8IWCJsx9H0GYmneL+/ltiTAARKR2yfOIJJ9JaFL7Ek0zxvViqZhMNYRCOFeQOU JOJbXxPS+iOi/dhAWMh1r6O8Is1ldr1E6HYkWATpfby753Cq9ZAB8AjqGywJrU7StUm9 NDl0h3jWyrh71p+PuzlEw6y9bXqyx8sN/OQQephzgPYRl8FDl3jaMMHtuAw6Aa6hji1+ etbiwQJBRcKILO9xKVBH47K5EUm4QR2ZvG3nqN/qqinjuX+5y2DEI369R4dCZrf2/m1K O9/rpOpbWkLbUOvVoESCKH3pl/DxZQxoCtnvw1tRLItCoZBy48g431sTkQZpF9WXy7qZ Uiug== 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=C8z8olCv/Wf04D2syaNYhP0pz40rdOLoH/ddE5sGd+s=; b=ijNk7pz2gP0fENk1RlahKgjaiw9w4CQ7HR7sS5YdBMXnXioRSfYQ0fs/8Aa+lyjV8a OPoOfcqSjkrH5+aPSU3XzAIl5jYCUfiTO66hnc1gavOj4xLsyIXLtX8jajeyvTwOwRL+ bp/rkih8d0pflIfoI0v+4udzcxDyKsl1Nkh8LXu6k8BLClWmzvuvuM4R+HxpPSOxlP/b vgkPWuemIYa5wdYoF14SvoyGYT0ozJw9uIt6LEYHF+xsB7AW5Mb2EqGT9r3L3qgolU7O Co0pVofXVlPWnPgOpupvt4wcaXntyTW80q8DyWuaAOk9fgWVHTMfdbpVH/GTS+usga+A K/wA== X-Gm-Message-State: AMke39kK4ea7r2IJKtiBwwcaxjjeFwj1f84Nrz6kcNq5XdUsXNbPTghCBbbUSf0/28AduEpKX5JS8uXRogzdPeXR X-Received: by 10.200.2.150 with SMTP id p22mr20947499qtg.197.1488499961417; Thu, 02 Mar 2017 16:12:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.134.7 with HTTP; Thu, 2 Mar 2017 16:12:41 -0800 (PST) In-Reply-To: References: From: "Alex (Oleksandr) Diachenko" Date: Thu, 2 Mar 2017 16:12:41 -0800 Message-ID: Subject: Re: hawq Ambari integration To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=f4030435c23472e88a0549c867a3 archived-at: Fri, 03 Mar 2017 00:12:48 -0000 --f4030435c23472e88a0549c867a3 Content-Type: text/plain; charset=UTF-8 Hi Jon, I think it was designed that Ambari is supposed to be only one source of true. The whole purpose of integration id to provide a user-friendly interface and avoid manually editing/distributing config files or running CLI commands. The idea of coupling HAWQ master with Ambari doesn't seem to be clean. Regards, Alex. On Thu, Mar 2, 2017 at 4:05 PM, Jon Roberts wrote: > It would be handy if the "hawq config" also updated Ambari's database so > that changes could be made in either place are retained when changes are > made in either place. > > Register Ambari: > hawq ambari -u admin -w admin -h myhost -p 8080 > > "hawq config" could then raise INFO/WARN messages about updating Ambari. > > Example: > hawq config -c hawq_rm_stmt_vseg_memory -v 16gb > INFO: Updated Ambari with hawq_rm_stmt_vseg_memory=16gb > or > hawq config -c hawq_rm_stmt_vseg_memory -v 16gb > WARN: Failed to update Ambari with hawq_rm_stmt_vseg_memory=16gb. Please > update Ambari credentials manually to retain this configuration change > after a restart. > > The implementation would require interacting with the Ambari APIs and also > storing the credentials in an encrypted file on the HAWQ Master. > > Thoughts? > > > Jon Roberts > Principal Engineer | jroberts@pivotal.io | 615-426-8661 > --f4030435c23472e88a0549c867a3--