[ 
https://issues.apache.org/jira/browse/KUDU-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385573#comment-17385573
 ] 

Alexey Serbin edited comment on KUDU-3302 at 7/26/21, 7:04 PM:
---------------------------------------------------------------

[~belugabehr], as you can see, in the docs we do use the form recommended and 
documented by [gflags|https://gflags.github.io/gflags/#commandline].  As for 
the inconsistency between the recommended form and the way how gflags prints 
out its help and usage banners, I guess the right place to report an issue is 
the [gflags|https://github.com/gflags/gflags] project itself: Kudu uses gflags 
as a thirdparty component, and we don't maintain gflags project itself.

Do you mind opening corresponding [issue with 
gflags|https://github.com/gflags/gflags/issues]?  Once they fix it, we can pick 
up the fix and use the updated gflags library in Kudu.

Thanks!


was (Author: aserbin):
[~belugabehr], as you can see, in the docs we do use the form recommended and 
documented by [gflags|https://gflags.github.io/gflags/#commandline].  As for 
the inconsistency between the recommended form and the way how gflags prints 
out its help and usage banners, I guess the write place to report an issue is 
the [gflags|https://github.com/gflags/gflags] project itself: Kudu uses gflags 
as a thirdparty component, and we don't maintain gflags project itself.

Do you mind opening corresponding [issue with 
gflags|https://github.com/gflags/gflags/issues]?  Once they fix it, we can pick 
up the fix and use the updated gflags library in Kudu.

Thanks!

> 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
>             Fix For: n/a
>
>
> {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)

Reply via email to