hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject incubator-hawq git commit: HAWQ-825. Add log to hawq reload cluster
Date Thu, 07 Jul 2016 02:54:08 GMT
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 <rlei@pivotal.io>
Authored: Wed Jul 6 13:20:41 2016 +0800
Committer: rlei <rlei@pivotal.io>
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
 
 


Mime
View raw message