[
https://issues.apache.org/jira/browse/CASSANDRA-19014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Szymon Miezal updated CASSANDRA-19014:
--------------------------------------
Test and Documentation Plan: utests, CI
Status: Patch Available (was: In Progress)
> repair_admin summarize-pending command is throwing OpenDataException
> --------------------------------------------------------------------
>
> Key: CASSANDRA-19014
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19014
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/nodetool
> Reporter: Szymon Miezal
> Assignee: Szymon Miezal
> Priority: Normal
>
> Execution of repair_admin summarize-pending is throwing the following
> exception:
> {code:java}
> error: Item names do not match CompositeType: names in items but not in
> CompositeType: []; names in CompositeType but not in items: [failed]
> -- StackTrace --
> javax.management.openmbean.OpenDataException: Item names do not match
> CompositeType: names in items but not in CompositeType: []; names in
> CompositeType but not in items: [failed]
> at
> javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:220)
> at
> javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:176)
> at
> org.apache.cassandra.repair.consistent.admin.PendingStats.toComposite(PendingStats.java:86)
> at
> org.apache.cassandra.service.ActiveRepairService.getPendingStats(ActiveRepairService.java:296)
> at
> org.apache.cassandra.tools.nodetool.RepairAdmin$SummarizePendingCmd.execute(RepairAdmin.java:112)
> at
> org.apache.cassandra.tools.NodeTool$NodeToolCmd.runInternal(NodeTool.java:358)
> at
> org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:343)
> at org.apache.cassandra.tools.NodeTool.execute(NodeTool.java:246)
> at
> org.apache.cassandra.distributed.impl.Instance$DTestNodeTool.execute(Instance.java:996)
> at
> org.apache.cassandra.distributed.impl.Instance.lambda$nodetoolResult$40(Instance.java:906)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:750) {code}
> The bug is caused by the fact that the list of fields at
> [https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/repair/consistent/admin/PendingStats.java#L78-L82]
> does not align with
> [https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/repair/consistent/admin/PendingStats.java#L35.]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]