Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ public Properties cryptoConf() {
}

/**
* The max number of chunks allowed to being transferred at the same time on shuffle service.
* The max number of chunks allowed to be transferred at the same time on shuffle service.
* Note that new incoming connections will be closed when the max number is hit. The client will
* retry according to the shuffle retry configs (see spark.shuffle.io.maxRetries and
* spark.shuffle.io.retryWait), if those limits are reached the task will fail with fetch failure.
*/
public long maxChunksBeingTransferred() {
return conf.getLong("spark.shuffle.maxChunksBeingTransferred", Long.MAX_VALUE);
Expand Down
5 changes: 4 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,10 @@ Apart from these, the following properties are also available, and may be useful
<td><code>spark.shuffle.maxChunksBeingTransferred</code></td>
<td>Long.MAX_VALUE</td>
<td>
The max number of chunks allowed to being transferred at the same time on shuffle service.
The max number of chunks allowed to be transferred at the same time on shuffle service.
Note that new incoming connections will be closed when the max number is hit. The client will
retry according to the shuffle retry configs (see spark.shuffle.io.maxRetries and
spark.shuffle.io.retryWait), if those limits are reached the task will fail with fetch failure.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for updating, sorry I forgot to ask you to put spark.shuffle.io.maxRetries and spark.shuffle.io.retryWait inside so they show up as references like in other places. See the description of
spark.shuffle.compress
as an example on how ti references other configs.

</td>
</tr>
<tr>
Expand Down