You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2021/07/09 15:56:00 UTC

[jira] [Created] (KUDU-3302) Fix Inconsistencies With Docs For kudu hms Tool

David Mollitor created KUDU-3302:
------------------------------------

             Summary: Fix Inconsistencies With Docs For kudu hms Tool
                 Key: KUDU-3302
                 URL: https://issues.apache.org/jira/browse/KUDU-3302
             Project: Kudu
          Issue Type: Improvement
            Reporter: David Mollitor


{code:none}
[root@host ~]# kudu hms fix --help
Usage:
 /bin/../lib/kudu/bin/kudu
 hms fix <master_addresses> [-dryrun] [-drop_orphan_hms_tables]
 [-nocreate_missing_hms_tables] [-nofix_inconsistent_tables]
 [-noupgrade_hms_tables] [-hive_metastore_sasl_enabled]
 [-hive_metastore_uris=<uris>] [-noignore_other_clusters]
 [-negotiation_timeout_ms=<ms>] [-timeout_ms=<ms>]
{code}

https://kudu.apache.org/docs/hive_metastore.html#_kudu_hms_fix

From the examples, we see this:

{code:none}
$ sudo -u kudu kudu hms fix master-name-1:7051,master-name-2:7051,master-name-3:7051 --hive_metastore_uris=<hive_metastore_uris> --dryrun=true [--ignore_other_clusters=<ignore_other_clusters>]
{code}

So, which is correct? Two dashes (--) or one (\-)?

When running destructive (drops/delete) operations, there can't be any confusion or ambiguity.  Very scary. Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)