You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Imran Rashid (JIRA)" <ji...@apache.org> on 2018/10/31 21:09:00 UTC
[jira] [Created] (SPARK-25905) BlockManager should expose
getRemoteManagedBuffer to avoid creating bytebuffers
Imran Rashid created SPARK-25905:
------------------------------------
Summary: BlockManager should expose getRemoteManagedBuffer to avoid creating bytebuffers
Key: SPARK-25905
URL: https://issues.apache.org/jira/browse/SPARK-25905
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 2.4.0
Reporter: Imran Rashid
The block manager currently only lets you get a handle on remote data as a {{ChunkedByteBuffer}}. But with remote reads of cached data, you really only need an input stream view of the data, which is already available with the {{ManagedBuffer}} which is fetched. By forcing conversion to a {{ChunkedByteBuffer}}, we end up using more memory than necessary.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org