Skip to content

Commit

Permalink
[SPARK-38144][CORE] Remove unused spark.storage.safetyFraction config
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to remove the unused `spark.storage.safetyFraction`.

### Why are the changes needed?

Apache Spark 3.0.0 deleted `StaticMemoryManager` and its `spark.storage.safetyFraction` usage via
SPARK-26539.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

Closes #35447 from dongjoon-hyun/SPARK-38144.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit cc53a0e)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
dongjoon-hyun committed Feb 8, 2022
1 parent f58daa7 commit ba3c8c5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,6 @@ package object config {
.doubleConf
.createWithDefault(0.6)

private[spark] val STORAGE_SAFETY_FRACTION = ConfigBuilder("spark.storage.safetyFraction")
.version("1.1.0")
.doubleConf
.createWithDefault(0.9)

private[spark] val STORAGE_UNROLL_MEMORY_THRESHOLD =
ConfigBuilder("spark.storage.unrollMemoryThreshold")
.doc("Initial memory to request before unrolling any block")
Expand Down

0 comments on commit ba3c8c5

Please sign in to comment.