Skip to content

Commit

Permalink
Merge d2c2f84 into 72a6426
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLeeMax committed Jun 12, 2023
2 parents 72a6426 + d2c2f84 commit 49296fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/ddc/alluxio/transform_optimization.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ func (e *AlluxioEngine) optimizeDefaultProperties(runtime *datav1alpha1.AlluxioR
setDefaultProperties(runtime, value, "alluxio.user.file.passive.cache.enabled", "false")
setDefaultProperties(runtime, value, "alluxio.user.block.avoid.eviction.policy.reserved.size.bytes", "2GB")
setDefaultProperties(runtime, value, "alluxio.master.journal.folder", "/journal")
setDefaultProperties(runtime, value, "alluxio.master.journal.type", "UFS")
if value.Master.Replicas > 1 {
setDefaultProperties(runtime, value, "alluxio.master.journal.type", "EMBEDDED")
} else {
setDefaultProperties(runtime, value, "alluxio.master.journal.type", "UFS")
}
setDefaultProperties(runtime, value, "alluxio.user.block.master.client.pool.gc.threshold", "10min")
setDefaultProperties(runtime, value, "alluxio.user.file.master.client.threads", "1024")
setDefaultProperties(runtime, value, "alluxio.user.block.master.client.threads", "1024")
Expand Down

0 comments on commit 49296fa

Please sign in to comment.