diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2014-10-08 11:53:43 -0500 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2014-10-08 11:53:43 -0500 |
commit | f18dd5962e4a18c3507de8147bde3a8f56380439 (patch) | |
tree | f87b18a6b5d22f75e6b1616cc421a4983cbb2141 /yarn | |
parent | 7fca8f41c8889a41d9ab05ad0ab39c7639f657ed (diff) | |
download | spark-f18dd5962e4a18c3507de8147bde3a8f56380439.tar.gz spark-f18dd5962e4a18c3507de8147bde3a8f56380439.tar.bz2 spark-f18dd5962e4a18c3507de8147bde3a8f56380439.zip |
[SPARK-3848] yarn alpha doesn't build on master
yarn alpha build was broken by #2432
as it added an argument to YarnAllocator but not to yarn/alpha YarnAllocationHandler
commit https://github.com/apache/spark/commit/79e45c9323455a51f25ed9acd0edd8682b4bbb88
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #2715 from sarutak/SPARK-3848 and squashes the following commits:
bafb8d1 [Kousuke Saruta] Fixed parameters for the default constructor of alpha/YarnAllocatorHandler.
Diffstat (limited to 'yarn')
-rw-r--r-- | yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala b/yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala index 6c93d85823..abd37834ed 100644 --- a/yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala +++ b/yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala @@ -43,7 +43,7 @@ private[yarn] class YarnAllocationHandler( args: ApplicationMasterArguments, preferredNodes: collection.Map[String, collection.Set[SplitInfo]], securityMgr: SecurityManager) - extends YarnAllocator(conf, sparkConf, args, preferredNodes, securityMgr) { + extends YarnAllocator(conf, sparkConf, appAttemptId, args, preferredNodes, securityMgr) { private val lastResponseId = new AtomicInteger() private val releaseList: CopyOnWriteArrayList[ContainerId] = new CopyOnWriteArrayList() |