File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
streaming/src/main/scala/org/apache/spark/streaming/api/python Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def start(self):
102
102
def awaitTermination (self , timeout = None ):
103
103
"""
104
104
Wait for the execution to stop.
105
+ @param timeout: time to wait in milliseconds
105
106
"""
106
107
if timeout is None :
107
108
self ._jssc .awaitTermination ()
Original file line number Diff line number Diff line change @@ -184,8 +184,6 @@ class PythonForeachDStream(
184
184
this .register()
185
185
}
186
186
187
- /*
188
- This does not work. Ignore this for now. -TD
189
187
class PythonTransformedDStream (
190
188
prev : DStream [Array [Byte ]],
191
189
transformFunction : PythonRDDFunction
@@ -204,7 +202,6 @@ class PythonTransformedDStream(
204
202
val asJavaDStream = JavaDStream .fromDStream(this )
205
203
// val asJavaPairDStream : JavaPairDStream[Long, Array[Byte]] = JavaPairDStream.fromJavaDStream(this)
206
204
}
207
- */
208
205
209
206
/**
210
207
* This is a input stream just for the unitest. This is equivalent to a checkpointable,
You can’t perform that action at this time.
0 commit comments