Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment about "encrypt" parameter.
  • Loading branch information
Marcelo Vanzin committed Feb 10, 2017
commit 42d5d104f8768bd5bac91883c5aac8370c5cbc81
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,10 @@ private[spark] class BlockManager(
/**
* Put a new block of serialized bytes to the block manager.
*
* @param encrypt If true, asks the block manager to encrypt the data block before storing,
* when I/O encryption is enabled. This is required for blocks that have been
* read from unencrypted sources, since all the BlockManager read APIs
* automatically do decryption.
* @return true if the block was stored or false if an error occurred.
*/
def putBytes[T: ClassTag](
Expand Down