johnyangk commented on a change in pull request #223: [NEMO-388] Off-heap
memory management (reuse ByteBuffer)
URL: https://github.com/apache/incubator-nemo/pull/223#discussion_r307125841
##########
File path:
runtime/executor/src/main/java/org/apache/nemo/runtime/executor/data/block/SerializedMemoryBlock.java
##########
@@ -102,10 +110,14 @@ public void writePartitions(final
Iterable<NonSerializedPartition<K>> partitions
if (!committed) {
try {
final Iterable<SerializedPartition<K>> convertedPartitions =
DataUtil.convertToSerPartitions(
- serializer, partitions);
+ serializer, partitions, memoryPoolAssigner);
writeSerializedPartitions(convertedPartitions);
} catch (final IOException e) {
throw new BlockWriteException(e);
+ } catch (final IllegalAccessException e) {
Review comment:
Ditto.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services