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

Abhishek commented on KUDU-3226:
--------------------------------

Appears to be the issue with the mode _kudu cluster_ which has the following 
commands:

 
{code:java}
kudu cluster rebalance
kudu cluster ksck
{code}
The exact stack trace (from kudu 1.10):

F0111 03:11:14.265851 101976 map-util.h:410] Check failed: 
InsertIfNotPresent(collection, key, data) duplicate key: 
98eea16246634b11bea207c6f397daa4
*** Check failure stack trace: ***
 @ 0x10d392d google::LogMessage::Fail()
 @ 0x10d5883 google::LogMessage::SendToLog()
 @ 0x10d3489 google::LogMessage::Flush()
 @ 0x10d620f google::LogMessageFatal::~LogMessageFatal()
 @ 0xc94216 InsertOrDie<>()
 @ 0xc8d59b kudu::tools::Ksck::CheckMasterConsensus()
 @ 0xc90583 kudu::tools::Ksck::Run()
 @ 0xc9100a kudu::tools::Ksck::RunAndPrintResults()
 @ 0xb44981 kudu::tools::(anonymous namespace)::RunKsck()
 @ 0xb46cb4 std::_Function_handler<>::_M_invoke()
 @ 0x1129ac2 kudu::tools::Action::Run()
 @ 0xbcc027 kudu::tools::DispatchCommand()
 @ 0xbcc9eb kudu::tools::RunTool()
 @ 0xae595d main
 @ 0x7fd165440505 __libc_start_main
 @ 0xb40ea1 (unknown)

 

> 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