Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/22511
  
    I think the deal with the dispose in TorrentBroadcast is that it's 
definitely needed in the local read case, but may need adjustments in the 
remote read case.
    
    The local read case (`doGetLocalBytes`) can return a `ByteBufferBlockData` 
that needs to be disposed by the caller (check comment "The block was not found 
on disk, so serialize an in-memory copy:", where this happens).


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to