Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16989#discussion_r118304568
  
    --- Diff: 
core/src/main/scala/org/apache/spark/internal/config/package.scala ---
    @@ -287,4 +287,10 @@ package object config {
           .bytesConf(ByteUnit.BYTE)
           .createWithDefault(100 * 1024 * 1024)
     
    +  private[spark] val REDUCER_MAX_REQ_SIZE_SHUFFLE_TO_MEM =
    +    ConfigBuilder("spark.reducer.maxReqSizeShuffleToMem")
    +      .doc("The blocks of a shuffle request will be fetched to disk when 
size of the request is " +
    +        "above this threshold. This is to avoid a giant request takes too 
much memory.")
    +      .bytesConf(ByteUnit.BYTE)
    --- End diff --
    
    the byte unit just indicates the default unit for the value, e.g. `200` 
means `200m` if the byte unit is mb, `200k` always means `200k` no matter what 
the byte unit is. And the value we get is always in bytes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to