Github user kayousterhout commented on the pull request:

    https://github.com/apache/spark/pull/2087#issuecomment-56307027
  
    @aarondav @sryza Did you consider using reader.getPos() to get the correct 
metrics for older versions of Hadoop (as in here: 
https://github.com/kayousterhout/spark-1/blob/0028f0de92d79fd4df01d69b9fefdc51d3489c54/core/src/main/scala/org/apache/spark/rdd/HadoopRDD.scala#L170)?
  That only fixes half the problem because I think it's only available in the 
old Hadoop API (not the new one), but I think this is the way that MapReduce 
correctly sets the input bytes.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to