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

Improve master RPC address comparison in the 'kudu hms check' CLI tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17.0
    • None
    • CLI
    • None

    Description

      The kudu hms check CLI tool treats RPC addresses with and without default master RPC port 7051 as different ones, even if those are the same in fact. That leads to bogus warnings when running the tool with the list of masters the same as in the Kudu table's HMS entry, differing only in presence/absence of the default master RPC port 7051.

      For example, if the table 'db.my_table' had master1,master2,master3 as the list of Kudu masters, running kudu hms check master1:7051,master2:7051,master3:7051 would output the following:

      I0205 14:22:28.166532 1053705 tool_action_hms.cc:432] Skipping HMS table db.my_table with different masters specified: master1,master2,master3
      

      It would be nice to make the tool comparing master addresses in a more intelligent way, so that Kudu master RPC addresses that differ only in presence of the master default RPC port treated as same.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: