You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chandni Singh (Jira)" <ji...@apache.org> on 2020/08/20 00:56:00 UTC

[jira] [Updated] (SPARK-32663) TransportClient getting closed when there are outstanding requests to the server

     [ https://issues.apache.org/jira/browse/SPARK-32663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandni Singh updated SPARK-32663:
----------------------------------
    Description: 
The implementation of {{removeBlocks}} and {{getHostLocalDirs}} in {{ExternalBlockStoreClient}} closes the client after processing a response in the callback. 

This is a cached client which will be re-used for other responses. There could be other outstanding request to the shuffle service, so it should not be closed after processing a response. 
Seems like this is a bug introduced with SPARK-27651 and SPARK-27677. 

The older methods  {{registerWithShuffleServer}} and {{fetchBlocks}} didn't close the client.

cc [~attilapiros] [~vanzin] [~mridulm80]

  was:
The implementation of {{removeBlocks}} and {{getHostLocalDirs}} in {{ExternalBlockStoreClient}} closes the client after processing a response in the callback. 

This is a cached client which will be re-used for other responses. There could be other outstanding request to the shuffle service, so it should not be closed after processing a response. 
Seems like this is a bug introduced with SPARK-27651 and SPARK-27677. 

The older methods  {{registerWithShuffleServer}} and {{fetchBlocks}} didn't close the client.

cc [~attilapiros] [~vanzin] [~mridul]


> TransportClient getting closed when there are outstanding requests to the server
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-32663
>                 URL: https://issues.apache.org/jira/browse/SPARK-32663
>             Project: Spark
>          Issue Type: Bug
>          Components: Shuffle
>    Affects Versions: 3.0.0
>            Reporter: Chandni Singh
>            Priority: Major
>
> The implementation of {{removeBlocks}} and {{getHostLocalDirs}} in {{ExternalBlockStoreClient}} closes the client after processing a response in the callback. 
> This is a cached client which will be re-used for other responses. There could be other outstanding request to the shuffle service, so it should not be closed after processing a response. 
> Seems like this is a bug introduced with SPARK-27651 and SPARK-27677. 
> The older methods  {{registerWithShuffleServer}} and {{fetchBlocks}} didn't close the client.
> cc [~attilapiros] [~vanzin] [~mridulm80]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org