aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorjunhao <junhao@mogujie.com>2016-02-16 19:43:17 -0800
committerShixiong Zhu <shixiong@databricks.com>2016-02-16 19:43:17 -0800
commit7218c0eba957e0a079a407b79c3a050cce9647b2 (patch)
treefa8fdf3612c4c3d0ed36dcf131931a48d8108ee1 /docs/configuration.md
parent5f37aad48cb729a80c4cc25347460f12aafec9fb (diff)
downloadspark-7218c0eba957e0a079a407b79c3a050cce9647b2.tar.gz
spark-7218c0eba957e0a079a407b79c3a050cce9647b2.tar.bz2
spark-7218c0eba957e0a079a407b79c3a050cce9647b2.zip
[SPARK-11627] Add initial input rate limit for spark streaming backpressure mechanism.
https://issues.apache.org/jira/browse/SPARK-11627 Spark Streaming backpressure mechanism has no initial input rate limit, it might cause OOM exception. In the firest batch task ,receivers receive data at the maximum speed they can reach,it might exhaust executors memory resources. Add a initial input rate limit value can make sure the Streaming job execute success in the first batch,then the backpressure mechanism can adjust receiving rate adaptively. Author: junhao <junhao@mogujie.com> Closes #9593 from junhaoMg/junhao-dev.
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 0dbfe3b079..a2c0dfe76c 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1471,6 +1471,14 @@ Apart from these, the following properties are also available, and may be useful
</td>
</tr>
<tr>
+ <td><code>spark.streaming.backpressure.initialRate</code></td>
+ <td>not set</td>
+ <td>
+ This is the initial maximum receiving rate at which each receiver will receive data for the
+ first batch when the backpressure mechanism is enabled.
+ </td>
+</tr>
+<tr>
<td><code>spark.streaming.blockInterval</code></td>
<td>200ms</td>
<td>