spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayousterhout <>
Subject [GitHub] spark pull request: [SPARK-5982] Remove incorrect Local Read Time ...
Date Tue, 24 Feb 2015 23:49:38 GMT
Github user kayousterhout commented on the pull request:
    @ksakellis I did this in my own branch here:
and can submit a PR for Spark if there is sufficient interest.  We can't do it in unpackBlock;
the problem is that the data gets read record-by-record, so we'd have to add how long it took
to read each record (in unpackBlock, we still have have an iterator that points to a memory-mapped
region, but the data still isn't necessarily read from disk there).  Any kind of per-record
logging ends up being too high overhead.  The way I did it in the change I referred to is
to add buffering to the reading of input data, and then you can log the time to read each
chunk of the buffer (this is the same thing we do to track the time to write shuffle files
to disk).

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