zjf2012 opened a new issue, #476:
URL: https://github.com/apache/incubator-uniffle/issues/476

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the feature
   
   In Spark, there is a configuration, "spark.shuffle.compress", to control if 
we should compress shuffled data. It defaults to true. But Uniffle always 
compresses shuffled data without respecting the configuration. Uniffle should 
respect it to be more align with vanilla Spark.
   
   ### Motivation
   
   We should let user decide if compress can be applied since some workloads 
are not compress friendly which otherwise can avoid useless CPU cycles.
   
   ### Describe the solution
   
   We can check "spark.shuffle.compress" configuration in WriteBufferManager 
and RssShuffleDataIterator before compressing and decompressing.
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to