GitHub user olegz opened a pull request:
https://github.com/apache/spark/pull/2422
SPARK-3561 - Pluggable strategy to facilitate access to native Hadoop/YARN
resources
Added HadoopExecutionContext trait and its default implementation
DefaultHadoopExecutionContext
Modified SparkContext to instantiate and delegate to the instance of
HadoopExecutionContext where appropriate
Changed HadoopExecutionContext to JobExecutionContext
Changed DefaultHadoopExecutionContext to DefaultExecutionContext
Name changes are due to the fact that when Spark executes outside of Hadoop
having Hadoop in the name woudl be confusing
Added initial documentation and tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/olegz/spark-1 SPARK-HADOOP
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2422.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2422
----
commit 15cd9b9110026b82a191ceb4d32f38230eec3b47
Author: Oleg Zhurakousky <[email protected]>
Date: 2014-09-16T15:26:48Z
Initial commit to provide pluggable strategy to facilitate access to native
Hadoop resources
Added HadoopExecutionContext trait and its default implementation
DefaultHadoopExecutionContext
Modified SparkContext to instantiate and delegate to the instance of
HadoopExecutionContext where appropriate
Changed HadoopExecutionContext to JobExecutionContext
Changed DefaultHadoopExecutionContext to DefaultExecutionContext
Name changes are due to the fact that when Spark executes outside of Hadoop
having Hadoop in the name woudl be confusing
Added initial documentation and tests
polished scaladoc
annotated JobExecutionContext with @DeveloperAPI
----
---
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]