[ 
https://issues.apache.org/jira/browse/KUDU-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Mollitor updated KUDU-3226:
---------------------------------
    Description: 
I recently accidentally included a list of masters where I fat-fingered the 
host names and included the same node twice.

I got some stack trace and an error message about duplicate keys inserted into 
a map.  I eventually figured out what I did wrong, but the error condition was 
not super helpful.

Please add an early validation step that explicitly captures this conditions 
and provides a helpful error message that includes the name of the host name 
which was duplicated on the command line.

This happened for me with {{kudu ksck}} but there may be other candidates as 
well.

  was:
I recently accidentally included a list of masters where I fat-fingered the 
host names and included the same node twice.

I got some stack trace and an error message about duplicate keys inserted into 
a map.  I eventually figured out what I did wrong, but the error condition was 
not super helpful.

Please add an early validation step that explicitly captures this conditions 
and provides a helpful error message that includes the name of the host name 
which was duplicated on the command line.


> Validate List of Masters for kudu ksck
> --------------------------------------
>
>                 Key: KUDU-3226
>                 URL: https://issues.apache.org/jira/browse/KUDU-3226
>             Project: Kudu
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: Abhishek
>            Priority: Minor
>              Labels: beginner, newbie, trivial
>
> I recently accidentally included a list of masters where I fat-fingered the 
> host names and included the same node twice.
> I got some stack trace and an error message about duplicate keys inserted 
> into a map.  I eventually figured out what I did wrong, but the error 
> condition was not super helpful.
> Please add an early validation step that explicitly captures this conditions 
> and provides a helpful error message that includes the name of the host name 
> which was duplicated on the command line.
> This happened for me with {{kudu ksck}} but there may be other candidates as 
> well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to