Github user kayousterhout commented on the pull request:

    https://github.com/apache/spark/pull/962#issuecomment-45575097
  
    @rxin I changed this to only get the position twice (at the beginning and 
end), and also added metrics to NewHadoopRDD, which I'd forgotten about 
previously.  I also surrounded the calls to reader.getPos() with try/catch 
since they can throw exceptions.  This should be good to go now (and I verified 
it works for both Hadoop APIs on EC2).


---
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.
---

Reply via email to