diff options
author | zsxwing <zsxwing@gmail.com> | 2015-08-06 21:42:42 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-08-06 21:42:42 -0700 |
commit | 672f467668da1cf20895ee57652489c306120288 (patch) | |
tree | efaf5d6b098df53580fbde9745c81a89aa823e58 /R/run-tests.sh | |
parent | fe12277b40082585e40e1bdf6aa2ebcfe80ed83f (diff) | |
download | spark-672f467668da1cf20895ee57652489c306120288.tar.gz spark-672f467668da1cf20895ee57652489c306120288.tar.bz2 spark-672f467668da1cf20895ee57652489c306120288.zip |
[SPARK-8057][Core]Call TaskAttemptContext.getTaskAttemptID using Reflection
Someone may use the Spark core jar in the maven repo with hadoop 1. SPARK-2075 has already resolved the compatibility issue to support it. But `SparkHadoopMapRedUtil.commitTask` broke it recently.
This PR uses Reflection to call `TaskAttemptContext.getTaskAttemptID` to fix the compatibility issue.
Author: zsxwing <zsxwing@gmail.com>
Closes #6599 from zsxwing/SPARK-8057 and squashes the following commits:
f7a343c [zsxwing] Remove the redundant import
6b7f1af [zsxwing] Call TaskAttemptContext.getTaskAttemptID using Reflection
Diffstat (limited to 'R/run-tests.sh')
0 files changed, 0 insertions, 0 deletions