[ https://issues.apache.org/jira/browse/HDFS-15882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated HDFS-15882: ------------------------------ Component/s: namanode Target Version/s: 3.4.0 Affects Version/s: 3.4.0 > Fix incorrectly initializing RandomAccessFile based on configuration options > ---------------------------------------------------------------------------- > > Key: HDFS-15882 > URL: https://issues.apache.org/jira/browse/HDFS-15882 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namanode > Affects Versions: 3.4.0 > Reporter: Xie Lei > Assignee: Xie Lei > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > `rw` Open for reading and writing. If the file does not already exist then an > attempt will be made to create it. > `rws` Require that every update to the file's content or metadata be written > synchronously to the underlying storage device. > From the literal meaning of this variable `shouldSyncWritesAndSkipFsync`, we > should use `rw` when `shouldSyncWritesAndSkipFsync` is true. > We use SATA disk to store the journal node's data. It's not effective for > improving RPC performance whether the `shouldSyncWritesAndSkipFsync` variable > is true or false. it's caused by initializing RandomAccessFile incorrectly. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org