Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1779,6 +1779,22 @@
</description>
</property>

<property>
<name>dfs.datanode.synconclose</name>
<value>false</value>
<description>
If this property is enabled, the datanode will instruct the
operating system to sync data block files contents to disk when the
blockfile is closed. This can help data loss in the event of a malfunction such as a power
failure.

This has the benefit of ensuring that data is written to disk
immediately when a block is closed, avoiding the data being held
solely in the operating system cache. This can help data loss in the event
of a malfunction such as a power failure.
Comment thread
Jimvin marked this conversation as resolved.
Comment on lines +1786 to +1794
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My previous suggestions included moving the sentence "This can help data loss in the event of a malfunction such as a power failure." from the second paragraph to the first and possibly removing the second paragraph because at the time it was inaccurate. Now the sentence is duplicated.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally, it's unclear to me whether or not this property has any bearing on erasure encoded files. It might be useful to run that to ground and include that in the property description.

</description>
</property>

<property>
<name>dfs.client.failover.max.attempts</name>
<value>15</value>
Expand Down
Loading