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:48:00 UTC
[jira] [Created] (SPARK-32663) TransportClient getting closed when
there are outstanding requests to the server
Chandni Singh created SPARK-32663:
-------------------------------------
Summary: 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
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]
--
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