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 D4428200B4F for ; Tue, 12 Jul 2016 05:09:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D2D75160A7D; Tue, 12 Jul 2016 03:09:39 +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 26828160A78 for ; Tue, 12 Jul 2016 05:09:39 +0200 (CEST) Received: (qmail 96553 invoked by uid 500); 12 Jul 2016 03:09:38 -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 96542 invoked by uid 99); 12 Jul 2016 03:09:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 03:09:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8718B1A0267 for ; Tue, 12 Jul 2016 03:09:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.446 X-Spam-Level: X-Spam-Status: No, score=-3.446 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8hNnGDMYoeCv for ; Tue, 12 Jul 2016 03:09:33 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 57A6F5F2C5 for ; Tue, 12 Jul 2016 03:09:33 +0000 (UTC) Received: (qmail 96532 invoked by uid 99); 12 Jul 2016 03:09:32 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 03:09:32 +0000 Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8EE131A0156 for ; Tue, 12 Jul 2016 03:09:32 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id h190so4967391ith.1 for ; Mon, 11 Jul 2016 20:09:32 -0700 (PDT) X-Gm-Message-State: ALyK8tJR1mK7ww/Pi+zwbvW3cIsenYvnMPe6xrcq/SaM8jgw5UBNwzk1DSOM3Em7NU0XmWutfBZ3CSYKjj3FDw== X-Received: by 10.36.62.133 with SMTP id s127mr409590its.98.1468292971785; Mon, 11 Jul 2016 20:09:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.16.233 with HTTP; Mon, 11 Jul 2016 20:09:31 -0700 (PDT) In-Reply-To: References: From: Lili Ma Date: Tue, 12 Jul 2016 11:09:31 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: question on pg_hba.conf updates To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113fe08c0278ba05376799e3 archived-at: Tue, 12 Jul 2016 03:09:40 -0000 --001a113fe08c0278ba05376799e3 Content-Type: text/plain; charset=UTF-8 To my understanding, pg_hba.conf is mainly used for client authentication, and it will not conflict with other hawq configure files such as hawq-site.xml, hdfs-client.xml, yart-client.xml,etc. And for client authentication, we only need to change pg_hda.conf file on HAWQ master node. Please correct me if I'm wrong. Thanks. Thanks Lili 2016-07-12 10:49 GMT+08:00 Radar Da lei : > Hi Vineet, > > While doing HAWQ cluster init, we will collect master/standby/segment ip > addresses and update pg_hba.conf. After hawq init, content of 'pg_hba.conf' > on each node should be different. > > When a cluster adding a new standby, this will get pg_hba.conf updated on > all the nodes. Activate standby will not update pg_hba.conf since all > entires already in standby and segments's pg_hba.conf. > > Adding a new segment will only generate a new pg_hba.conf for itself. > > These are what I can think out for this moment. Thanks. > > Regards, > Radar > > On Tue, Jul 12, 2016 at 10:08 AM, Vineet Goel wrote: > > > Hi all, > > > > Question related to integration with Apache Ambari. > > > > It would be nice to make pg_hba.conf visible and editable in Ambari, so > > that Ambari allows one single interface for admins to update HAWQ and > > System configs such as hawq-site.xml, hawq-check.conf, sysctl.conf, > > limits.conf, hdfs-client.xml, yarn-client.xml etc. Rollback and > > version-history of config files is always a bonus in Ambari. > > > > Are there any backend HAWQ utilities (such as activate-standby or others) > > that update pg_hba.conf file in any way, ever? It would be nice to know > so > > that config file change conflicts are managed appropriately. > > > > Thanks > > Vineet > > > --001a113fe08c0278ba05376799e3--