Github user ueshin commented on the pull request:

    https://github.com/apache/spark/pull/2638#issuecomment-58596020
  
    @marmbrus, Thank you for your comment.
    The `TaskAttemptContext` is a class in 
[hadoop-1](https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/mapreduce/TaskAttemptContext.html)
 but is an interface in 
[hadoop-2](http://hadoop.apache.org/docs/r2.5.1/api/org/apache/hadoop/mapreduce/TaskAttemptContext.html).
    The signatures of the method `TaskAttemptContext.getTaskAttemptID` for the 
both versions are the same, so the method calls are source-compatible but NOT 
binary-compatible because the opcode of method call for class is 
[`INVOKEVIRTUAL`](http://cs.au.dk/~mis/dOvs/jvmspec/ref--35.html) and for 
interface is 
[`INVOKEINTERFACE`](http://cs.au.dk/~mis/dOvs/jvmspec/ref--32.html).


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