Github user sryza commented on the pull request:

    https://github.com/apache/spark/pull/4050#issuecomment-71537583
  
    > If we use a inputFormat that don‘t instanc of 
org.apache.hadoop.mapreduce.lib.input.{CombineFileSplit, FileSplit}, then we 
can't get information of input metrics.
    
    This is the desired behavior.  The input metrics are currently only able to 
track the bytes read from a Hadoop-compatible file system.  Many InputFormats 
(e.g. DBInputFormat) don't read from Hadoop-compatible file systems, so 
reporting "bytes read" would be misleading. 


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