[ https://issues.apache.org/jira/browse/HDFS-17080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910418#comment-17910418 ]
ASF GitHub Bot commented on HDFS-17080: --------------------------------------- jojochuang commented on PR #5807: URL: https://github.com/apache/hadoop/pull/5807#issuecomment-2573988838 Thanks @harris233 for the PR and @Hexiaoqiao for the review! > Fix ec connection leak (GitHub PR#5807) > --------------------------------------- > > Key: HDFS-17080 > URL: https://issues.apache.org/jira/browse/HDFS-17080 > Project: Hadoop HDFS > Issue Type: Task > Reporter: Wei-Chiu Chuang > Priority: Major > Labels: pull-request-available > > Creating this jira to track GitHub PR #5807. > {quote}Description of PR > This PR fixes EC connection leak if got exception when constructing reader. > How was this patch tested? > Cluster: Presto > Data: EC > Query: select col from table(EC data) limit 10 > Presto is a long time running process to deal with query. > In this case, when it gets 10 records, it will interrupt other threads. > Other threads may be in constructing reader or getting next record. > If getting next record is interrupted, it will be caught and Presto will > close it. > But if constructing reader is interrupted, Presto cannot close it because > reader in Presto has not been created. > So we can observe whether EC connection is closed when doing EC limit query. > Use netstat command.{quote} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org