spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayousterhout <>
Subject [GitHub] spark pull request: [SPARK-7884] Move block deserialization from B...
Date Thu, 11 Jun 2015 23:38:45 GMT
Github user kayousterhout commented on the pull request:
    My only remaining concern is with the unit test: we used to check that the buffer got
released when the iterator was exhausted.  Now, we test that the buffer is released when close()
gets called on the wrapped stream, but we don't verify that close() ever gets called.  It
would be great to do the latter, just because not releasing the input stream can lead to nasty
OOM bugs (particularly because this data is off-heap in a managed buffer).  You'd need to
add a test for HashShuffleReader for that (and exhaust that iterator, similar to what the
old test for ShuffleBlockFetcherIterator did); is that prohibitively difficult?
    I also pinged @rxin who said he'd take a look at this tonight -- need sign-off from him
or another shuffle maintainer since this is a non-tiny change to the shuffle code.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message