starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

execute Exception, sql show resources java.util.ConcurrentModificationException: null

Open blanklin030 opened this issue 2 years ago • 1 comments

Steps to reproduce the behavior (Required)

2023-10-30 17:04:32,772 WARN (starrocks-mysql-nio-pool-64|5940) [StmtExecutor.execute():532] execute Exception, sql show resources
java.util.ConcurrentModificationException: null
        at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_301]
        at java.util.HashMap$EntryIterator.next(HashMap.java:1479) ~[?:1.8.0_301]
        at java.util.HashMap$EntryIterator.next(HashMap.java:1477) ~[?:1.8.0_301]
        at com.starrocks.catalog.ResourceMgr$ResourceProcNode.fetchResult(ResourceMgr.java:306) ~[starrocks-fe.jar:?]
        at com.starrocks.catalog.ResourceMgr.getResourcesInfo(ResourceMgr.java:279) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ShowExecutor.handleShowResources(ShowExecutor.java:1510) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ShowExecutor.execute(ShowExecutor.java:265) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.StmtExecutor.handleShow(StmtExecutor.java:1109) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.StmtExecutor.execute(StmtExecutor.java:490) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:324) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.dispatch(ConnectProcessor.java:441) ~[starrocks-fe.jar:?]
        at com.starrocks.qe.ConnectProcessor.processOnce(ConnectProcessor.java:699) ~[starrocks-fe.jar:?]
        at com.starrocks.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:55) ~[starrocks-fe.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_301]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_301]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_301]

Expected behavior (Required)

success

Real behavior (Required)

throw exception

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version() 2.5.12

blanklin030 avatar Nov 01 '23 16:11 blanklin030

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

github-actions[bot] avatar May 06 '24 11:05 github-actions[bot]