Github user sryza commented on the pull request:
https://github.com/apache/spark/pull/396#issuecomment-40263850
The justification for breaking compatibility was that the API was marked
@Private. We're working to fix this in YARN-1931 - the missing API will be
added back in for 2.4.1 and further. There's still some discussion there on
whether the make the API public. The issue with the old API is that it
couldn't handle Windows clients submitting to Linux servers (and vice versa).
So we'll want to switch to the new API anyway to avoid this issue. If the API
is made public, we can use reflection to call it going forward. Else, we'll
need to go with @xgong 's approach.
---
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.
---