Marcelo Vanzin created SPARK-11762: -------------------------------------- Summary: TransportResponseHandler should consider open streams when counting outstanding requests Key: SPARK-11762 URL: https://issues.apache.org/jira/browse/SPARK-11762 Project: Spark Issue Type: Bug Components: Spark Core Affects Versions: 1.6.0 Reporter: Marcelo Vanzin Priority: Minor
This code in TransportResponseHandler: {code} public int numOutstandingRequests() { return outstandingFetches.size() + outstandingRpcs.size(); } {code} Is used to determine if the channel is currently in use; if there's a timeout and the channel is in use, then the channel is closed. But it currently does not consider open streams (just block fetches and RPCs), so if a timeout happens during a stream transfer, the channel will remain open. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org