caiconghui opened a new issue, #10487:
URL: https://github.com/apache/doris/issues/10487

   ### 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?
   
   if there are more than two queries in one fe, execute show proc 
'/current_query_stmts' may encounter following error:
   2022-06-29 15:04:24,395 WARN (doris-mysql-nio-pool-8|386) 
[StmtExecutor.execute():466] execute Exception. stmt[116, 
c247960acbe47ea-a551d48ba317cd84]
   java.lang.NumberFormatException: For input string: 
"7cb65ec8286a485ff7090cf542e36242"
           at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 
~[?:?]
           at java.lang.Integer.parseInt(Integer.java:652) ~[?:?]
           at java.lang.Integer.parseInt(Integer.java:770) ~[?:?]
           at 
org.apache.doris.common.proc.CurrentQueryStatementsProcNode.lambda$fetchResult$0(CurrentQueryStatementsProcNode.java:65)
 ~[doris-fe.jar:0.15-SNAPSHOT]
           at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) 
~[?:?]
           at java.util.TimSort.sort(TimSort.java:220) ~[?:?]
           at java.util.Arrays.sort(Arrays.java:1515) ~[?:?]
           at java.util.ArrayList.sort(ArrayList.java:1749) ~[?:?]
           at 
org.apache.doris.common.proc.CurrentQueryStatementsProcNode.fetchResult(CurrentQueryStatementsProcNode.java:64)
 ~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.analysis.ShowProcStmt.getMetaData(ShowProcStmt.java:67) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.qe.ShowExecutor.handleShowProc(ShowExecutor.java:497) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.ShowExecutor.execute(ShowExecutor.java:212) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.handleShow(StmtExecutor.java:1474) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:440) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:308) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:212) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:349) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:538) 
~[doris-fe.jar:0.15-SNAPSHOT]
           at 
org.apache.doris.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:50)
 ~[doris-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?
   
   execute  show proc '/current_query_stmts' normally
   
   ### How to Reproduce?
   
   execute more than one query at the same time in one fe
   
   ### 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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to