[
https://issues.apache.org/jira/browse/KUDU-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979945#comment-16979945
]
YifanZhang commented on KUDU-3006:
----------------------------------
I reproduced this error and printed some logs to debug, some logs were like:
{code:java}
I1122 15:54:18.806080 28648 rebalancer_tool.cc:190] replacing replicas on
healthy ignored tservers
I1122 15:54:18.825372 28648 rebalancer_tool.cc:1438] tablet
6274e4d23add454d97ed7b2d7208a097: not considering replicas for movement since
the tablet's status is 'CONSENSUS_MISMATCH'
{code}
That means a replica is not healthy so the rebalancer tool would not move it,
I'll try to fix it.
> RebalanceIgnoredTserversTest.Basic is flaky
> -------------------------------------------
>
> Key: KUDU-3006
> URL: https://issues.apache.org/jira/browse/KUDU-3006
> Project: Kudu
> Issue Type: Bug
> Reporter: Hao Hao
> Priority: Minor
> Attachments: rebalancer_tool-test.1.txt
>
>
> RebalanceIgnoredTserversTest.Basic of the rebalancer_tool-test sometimes
> fails with an error like below. I attached full test log.
> {noformat}
> /data/somelongdirectorytoavoidrpathissues/src/kudu/src/kudu/tools/rebalancer_tool-test.cc:350:
> Failure
> Value of: out
> Expected: has substring "2dd9365c71c54e5d83294b31046c5478 | 0"
> Actual: "Per-server replica distribution summary for tservers_to_empty:\n
> Server UUID | Replica
> Count\n----------------------------------+---------------\n
> 2dd9365c71c54e5d83294b31046c5478 | 1\n\nPer-server replica distribution
> summary:\n Statistic |
> Value\n-----------------------+----------\n Minimum Replica Count | 0\n
> Maximum Replica Count | 1\n Average Replica Count | 0.500000\n\nPer-table
> replica distribution summary:\n Replica Skew |
> Value\n--------------+----------\n Minimum | 1\n Maximum | 1\n
> Average | 1.000000\n\n\nrebalancing is complete: cluster is balanced
> (moved 0 replicas)\n" (of type std::string)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)