public static void dispose(java.nio.ByteBuffer buffer)
Attempt to clean up a ByteBuffer if it is direct or memory-mapped. This uses an *unsafe* Sun
API that will cause errors if one attempts to read from the disposed buffer. However, neither
the bytes allocated to direct buffers nor file descriptors opened for memory-mapped buffers put
pressure on the garbage collector. Waiting for garbage collection may lead to the depletion of
off-heap memory or huge numbers of open files. There's unfortunately no standard API to
manually dispose of these kinds of buffers.
buffer - (undocumented)
public static void updateRddInfo(scala.collection.Seq<RDDInfo> rddInfos,
Update the given list of RDDInfo with the given list of storage statuses.
This method overwrites the old values stored in the RDDInfo's.
rddInfos - (undocumented)
statuses - (undocumented)
public static scala.collection.Map<BlockId,scala.collection.Seq<String>> getRddBlockLocations(int rddId,
Return a mapping from block ID to its locations for each block that belongs to the given RDD.