caiconghui opened a new issue, #10364: URL: https://github.com/apache/doris/issues/10364
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version master ### What's Wrong? show proc "/trash/10013", and then meet following error: 2022-06-23 15:29:54,904 WARN (doris-mysql-nio-pool-632|4406) [StmtExecutor.analyze():621] Analyze failed. stmt[451, 63e5aeff33045d8-86b807309a5cdca9] java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at org.apache.doris.common.proc.TrashProcDir.lookup(TrashProcDir.java:127) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.common.proc.ProcService.open(ProcService.java:142) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.analysis.ShowProcStmt.analyze(ShowProcStmt.java:51) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.StmtExecutor.analyze(StmtExecutor.java:617) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:335) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:308) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:212) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:349) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:538) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:50) ~[palo-fe.jar:0.15-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) ~[?:?] ### What You Expected? show proc "/trash/10013" return right result ### How to Reproduce? show proc "/trash/$backendId" ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
