diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2015-05-22 23:05:54 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-05-22 23:05:54 -0700 |
commit | baa89838cca96fa091c9e5ce62be01e1a265d820 (patch) | |
tree | 69108bd5764df15e0047d5d0b1d27ca4c03579ab /streaming | |
parent | 017b3404a50bd4b04ed73c5a69acb7b19a929822 (diff) | |
download | spark-baa89838cca96fa091c9e5ce62be01e1a265d820.tar.gz spark-baa89838cca96fa091c9e5ce62be01e1a265d820.tar.bz2 spark-baa89838cca96fa091c9e5ce62be01e1a265d820.zip |
[SPARK-7838] [STREAMING] Set scope for kinesis stream
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #6369 from tdas/SPARK-7838 and squashes the following commits:
87d1c7f [Tathagata Das] Addressed comment
37775d8 [Tathagata Das] set scope for kinesis stream
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala b/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala index 7b77d447ce..5e58ed7148 100644 --- a/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala +++ b/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala @@ -262,7 +262,7 @@ class StreamingContext private[streaming] ( * * Note: Return statements are NOT allowed in the given body. */ - private def withNamedScope[U](name: String)(body: => U): U = { + private[streaming] def withNamedScope[U](name: String)(body: => U): U = { RDDOperationScope.withScope(sc, name, allowNesting = false, ignoreParent = false)(body) } |