Github user outofmem0ry commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/1254#discussion_r125389996 --- Diff: tools/bin/hawq --- @@ -120,6 +120,23 @@ def main(): if second_arg not in cluster_type_list: print STOP_HELP sys.exit(1) + # Prints deprecation warning when using old syntax "hawq stop <object> -u" to reload GUC + if len(sub_args.split("-")) > 1: + if "-u" in sub_args or "--reload" in sub_args or "u" in sub_args.split("-")[1]: + deprecationMessage = """ + hawq stop <object> -u is being deprecated and replaced by 'hawq reload <object>' --- End diff -- @radarwave - I deliberately kept the messages printing different so that it is noticeable to the user, as it is a deprecation warning.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---