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 5D48E200B60 for ; Thu, 7 Jul 2016 04:54:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5BE25160A79; Thu, 7 Jul 2016 02:54:13 +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 A8DA7160A74 for ; Thu, 7 Jul 2016 04:54:12 +0200 (CEST) Received: (qmail 76948 invoked by uid 500); 7 Jul 2016 02:54:11 -0000 Mailing-List: contact commits-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 commits@hawq.incubator.apache.org Received: (qmail 76814 invoked by uid 99); 7 Jul 2016 02:54:11 -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; Thu, 07 Jul 2016 02:54:11 +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 2F0FEC61C5 for ; Thu, 7 Jul 2016 02:54:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.507 X-Spam-Level: X-Spam-Status: No, score=-4.507 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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.287] autolearn=disabled Received: from mx2-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 tPHGkCnc3mDd for ; Thu, 7 Jul 2016 02:54:09 +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 2CF265FE5E for ; Thu, 7 Jul 2016 02:54:09 +0000 (UTC) Received: (qmail 76665 invoked by uid 99); 7 Jul 2016 02:54:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2016 02:54:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7AAA3E0B66; Thu, 7 Jul 2016 02:54:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rlei@apache.org To: commits@hawq.incubator.apache.org Message-Id: <392dd44d6ade4265a31949398a1dfe36@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-hawq git commit: HAWQ-825. Add log to hawq reload cluster Date: Thu, 7 Jul 2016 02:54:08 +0000 (UTC) archived-at: Thu, 07 Jul 2016 02:54:13 -0000 Repository: incubator-hawq Updated Branches: refs/heads/master 1a17238d3 -> 0f61e8597 HAWQ-825. Add log to hawq reload cluster Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/0f61e859 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/0f61e859 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/0f61e859 Branch: refs/heads/master Commit: 0f61e8597586d9e4f3902b14dc0ad2debae606a7 Parents: 1a17238 Author: rlei Authored: Wed Jul 6 13:20:41 2016 +0800 Committer: rlei Committed: Thu Jul 7 10:49:07 2016 +0800 ---------------------------------------------------------------------- tools/bin/hawq_ctl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0f61e859/tools/bin/hawq_ctl ---------------------------------------------------------------------- diff --git a/tools/bin/hawq_ctl b/tools/bin/hawq_ctl index aca7787..50070f6 100755 --- a/tools/bin/hawq_ctl +++ b/tools/bin/hawq_ctl @@ -1103,10 +1103,10 @@ def get_args(): logger.error("Create log directory %s failed on hosts %s" % (opts.log_dir, create_failed_host)) logger.error("Please check directory permission") - hawq_action_name = opts.hawq_command.title() if opts.hawq_reload: - hawq_action_name = 'Reload' - logger.info("%s hawq with args: %s" % (hawq_action_name, ARGS)) + logger.info("Reloading configuration without restarting hawq cluster") + else: + logger.info("%s hawq with args: %s" % (opts.hawq_command.title(), ARGS)) return opts, hawq_dict