aboutsummaryrefslogtreecommitdiff
path: root/streaming
diff options
context:
space:
mode:
authorAaron Davidson <aaron@databricks.com>2014-11-05 14:38:43 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-11-05 14:41:13 -0800
commite7f735637ad2f681b454d1297f6fdcc433feebbc (patch)
tree230865bc00adcce315688fc1b5ba2f62ed000f94 /streaming
parent236434033fe452e70dbd0236935a49693712e130 (diff)
downloadspark-e7f735637ad2f681b454d1297f6fdcc433feebbc.tar.gz
spark-e7f735637ad2f681b454d1297f6fdcc433feebbc.tar.bz2
spark-e7f735637ad2f681b454d1297f6fdcc433feebbc.zip
[SPARK-4242] [Core] Add SASL to external shuffle service
Does three things: (1) Adds SASL to ExternalShuffleClient, (2) puts SecurityManager in BlockManager's constructor, and (3) adds unit test. Author: Aaron Davidson <aaron@databricks.com> Closes #3108 from aarondav/sasl-client and squashes the following commits: 48b622d [Aaron Davidson] Screw it, let's just get LimitedInputStream 3543b70 [Aaron Davidson] Back out of pom change due to unknown test issue? b58518a [Aaron Davidson] ByteStreams.limit() not available :( cbe451a [Aaron Davidson] Address comments 2bf2908 [Aaron Davidson] [SPARK-4242] [Core] Add SASL to external shuffle service
Diffstat (limited to 'streaming')
-rw-r--r--streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala b/streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala
index 0f27f55fec..9efe15d01e 100644
--- a/streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala
+++ b/streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala
@@ -73,7 +73,7 @@ class ReceivedBlockHandlerSuite extends FunSuite with BeforeAndAfter with Matche
blockManager = new BlockManager("bm", actorSystem, blockManagerMaster, serializer,
blockManagerSize, conf, mapOutputTracker, shuffleManager,
- new NioBlockTransferService(conf, securityMgr))
+ new NioBlockTransferService(conf, securityMgr), securityMgr)
blockManager.initialize("app-id")
tempDirectory = Files.createTempDir()