Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3302

Fix Inconsistencies With Docs For kudu hms Tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • None
    • n/a
    • None
    • None

    Description

      [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>]
      

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

      From the examples, we see this:

      $ 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>]
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: