-
- Downloads
SPARK-1158: Fix flaky RateLimitedOutputStreamSuite.
There was actually a problem with the RateLimitedOutputStream implementation where the first second doesn't write anything because of integer rounding. So RateLimitedOutputStream was overly aggressive in throttling. Author: Reynold Xin <rxin@apache.org> Closes #55 from rxin/ratelimitest and squashes the following commits: 52ce1b7 [Reynold Xin] SPARK-1158: Fix flaky RateLimitedOutputStreamSuite.
Showing
- streaming/src/main/scala/org/apache/spark/streaming/util/RateLimitedOutputStream.scala 24 additions, 15 deletions...apache/spark/streaming/util/RateLimitedOutputStream.scala
- streaming/src/test/scala/org/apache/spark/streaming/util/RateLimitedOutputStreamSuite.scala 8 additions, 5 deletions...e/spark/streaming/util/RateLimitedOutputStreamSuite.scala
Please register or sign in to comment