spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdas <>
Subject [GitHub] spark pull request: [SPARK-8080][STREAMING] with It...
Date Fri, 05 Jun 2015 22:39:48 GMT
Github user tdas commented on the pull request:
    Good point. I think the solution is to make the CountingIterator verify whether the end
of the internal iterator was reached or not (that is hasNext had returned false or not). Accordingly
we will know whether the count is correct or not. In cases where the count is in complete
(e.g. MEMORY_ONLY, with not enough memory), the count can be ignored because in those cases
the block was not successfully put into the memory. And so the count can be considered to
be zero. In fact ideally we should be throwing exceptions saying that block could not be inserted
in the block manager. 
    Does that make sense?

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