[ https://issues.apache.org/jira/browse/KUDU-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Serbin updated KUDU-2781: -------------------------------- Description: Add few verification steps related to the location assignment: * the location assignment executable is present and executable * the location assignment executable conforms with the expected interface: it accepts one argument (IP address or DNS name) and outputs the assigned location into the stdout * the same DNS name/IP address assigned the same location * the result location output into the stdout conforms with the format for locations in Kudu It's possible to implement these in {{kudu-master}} using group flag validators: see the {{GROUP_FLAG_VALIDATOR}} macro. Performing few verification steps mentioned above should help to avoid situations when Kudu tablet servers cannot be registered with Kudu master if the location assignment executable path is misspelled or the executable behaves not as expected. > Hardening for location awareness command-line flag > -------------------------------------------------- > > Key: KUDU-2781 > URL: https://issues.apache.org/jira/browse/KUDU-2781 > Project: Kudu > Issue Type: Improvement > Reporter: Alexey Serbin > Assignee: Alexey Serbin > Priority: Major > > Add few verification steps related to the location assignment: > * the location assignment executable is present and executable > * the location assignment executable conforms with the expected interface: it > accepts one argument (IP address or DNS name) and outputs the assigned > location into the stdout > * the same DNS name/IP address assigned the same location > * the result location output into the stdout conforms with the format for > locations in Kudu > It's possible to implement these in {{kudu-master}} using group flag > validators: see the {{GROUP_FLAG_VALIDATOR}} macro. > Performing few verification steps mentioned above should help to avoid > situations when Kudu tablet servers cannot be registered with Kudu master if > the location assignment executable path is misspelled or the executable > behaves not as expected. -- This message was sent by Atlassian Jira (v8.3.4#803005)