lamber-ken opened a new pull request #2751:
URL: https://github.com/apache/hadoop/pull/2751


   ## ISSUE
   https://issues.apache.org/jira/browse/HDFS-15882
   
   ## NOTICE
   
   - `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 `rws` when shouldSyncWritesAndSkipFsync is false.
   
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to