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

ASF GitHub Bot commented on HDFS-17080:
---------------------------------------

Hexiaoqiao commented on PR #5807:
URL: https://github.com/apache/hadoop/pull/5807#issuecomment-1631742621

   @jojochuang Thanks WeiChiu for your help.
   @harris233 Would you mind to re-apply, and attach this PR link to the 
application form? I will try to trace and approve.




> 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

Reply via email to