{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6599","labels_url":"https://api.github.com/repos/apache/spark/issues/6599/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6599/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6599/events","html_url":"https://github.com/apache/spark/pull/6599","id":84276486,"number":6599,"title":"[SPARK-8057][Core]Call TaskAttemptContext.getTaskAttemptID using Reflection","user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-06-03T00:19:53Z","updated_at":"2015-06-08T14:25:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6599","html_url":"https://github.com/apache/spark/pull/6599","diff_url":"https://github.com/apache/spark/pull/6599.diff","patch_url":"https://github.com/apache/spark/pull/6599.patch"},"body":"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.\r\n\r\nThis PR uses Reflection to call `TaskAttemptContext.getTaskAttemptID` to fix the compatibility issue."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/110013279","html_url":"https://github.com/apache/spark/pull/6599#issuecomment-110013279","issue_url":"https://api.github.com/repos/apache/spark/issues/6599","id":110013279,"user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T14:25:44Z","updated_at":"2015-06-08T14:25:44Z","body":"retest this please"}}