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

Szymon Miezal commented on CASSANDRA-19014:
-------------------------------------------

Proposed patches:
 * 
[https://github.com/szymon-miezal/cassandra/commit/b051079a03dee6b461a8be1ffcad4fef580ae6bd]
 (4.0)
 * 
[https://github.com/szymon-miezal/cassandra/commit/78b350b81c315ae3770df873b8c5dfba7c21db15]
 (4.1)
 * 
[https://github.com/szymon-miezal/cassandra/commit/ae5d3999fd5bdefa8e65f787b2a67951c13a6366]
 (5.0)
 * 
[https://github.com/szymon-miezal/cassandra/commit/39e5fc9fb81318bfbeadb78f866de197102d028c]
 (trunk)

I am going to run the tests now.

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to