You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by radarwave <gi...@git.apache.org> on 2017/07/04 02:03:46 UTC

[GitHub] incubator-hawq pull request #1254: HAWQ-1373 - Added feature to reload GUC v...

Github user radarwave commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1254#discussion_r125376981
  
    --- 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 --
    
    This deprecation message is not align with other messages.
    Run 'hawq stop cluster -u' then you can see.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---