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):
102102 def awaitTermination (self , timeout = None ):
103103 """
104104 Wait for the execution to stop.
105+ @param timeout: time to wait in milliseconds
105106 """
106107 if timeout is None :
107108 self ._jssc .awaitTermination ()
Original file line number Diff line number Diff line change @@ -184,8 +184,6 @@ class PythonForeachDStream(
184184 this .register()
185185}
186186
187- /*
188- This does not work. Ignore this for now. -TD
189187class PythonTransformedDStream (
190188 prev : DStream [Array [Byte ]],
191189 transformFunction : PythonRDDFunction
@@ -204,7 +202,6 @@ class PythonTransformedDStream(
204202 val asJavaDStream = JavaDStream .fromDStream(this )
205203 // val asJavaPairDStream : JavaPairDStream[Long, Array[Byte]] = JavaPairDStream.fromJavaDStream(this)
206204}
207- */
208205
209206/**
210207 * 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