[ https://issues.apache.org/jira/browse/KUDU-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17378217#comment-17378217 ]
Alexey Serbin commented on KUDU-3302: ------------------------------------- Both versions are correct: two dashes (\-\-) and one dash (\-): that's now gflags library works. > 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 > Priority: Minor > > {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)