You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/07 10:50:00 UTC

[jira] [Work logged] (HDFS-15882) Fix incorrectly initializing RandomAccessFile based on configuration options

     [ https://issues.apache.org/jira/browse/HDFS-15882?focusedWorklogId=561946&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-561946 ]

ASF GitHub Bot logged work on HDFS-15882:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Mar/21 10:49
            Start Date: 07/Mar/21 10:49
    Worklog Time Spent: 10m 
      Work Description: leosunli commented on pull request #2751:
URL: https://github.com/apache/hadoop/pull/2751#issuecomment-792256266


   LGTM


----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 561946)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Reporter: Xie Lei
>            Assignee: Xie Lei
>            Priority: Major
>          Time Spent: 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org