Skip to content

Spark + Ozone 1.4.0 Factor replication #7039

Answered by errose28
yazynin asked this question in FAQ
Discussion options

You must be logged in to vote

Hi @yazynin, the replication config for the bucket is a default if the client does not provide one. According to the audit log, it looks like the spark client explicitly requested to create a key of replication factor 3, which overrides the bucket default. Check if your spark client has the configuration spark.hadoop.dfs.replication set to 3, and change it to 1 if that is the desired behavior. Ozone has client side replication configs as well: ozone.replication (you can set this to 1) and ozone.replication.type (you can set this to RATIS). I believe the Ozone client configs will not be used if the layer above, like spark invoking Ozone through ofs, has already specified a replication config.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yazynin
Comment options

@yazynin
Comment options

@yazynin
Comment options

Answer selected by yazynin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants