Skip to content

Commit

Permalink
fix default master journal type setting (#3281)
Browse files Browse the repository at this point in the history
Signed-off-by: cheyang <[email protected]>
  • Loading branch information
VincentLeeMax authored and cheyang committed Jun 14, 2023
1 parent 2ca41e8 commit a2438bd
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 @@ -65,7 +65,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 a2438bd

Please sign in to comment.