[
https://issues.apache.org/jira/browse/HDFS-12733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853337#comment-16853337
]
Konstantin Shvachko commented on HDFS-12733:
--------------------------------------------
I would really prefer if this could be done without introducing new config
parameters.
[HDFS-14511|https://issues.apache.org/jira/browse/HDFS-14511?focusedCommentId=16847249&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16847249]
shows how it can and is done in current implementation with existing
configuration options. We should clearly document this.
If this is not satisfactory, let's think of using existing parameters for
disabling local writes in HA. For example, in HA mode we can treat
{{dfs.namenode.edits.dir = null}} as not having local directories for writing.
I am always hesitant about adding new config parameters because we already have
a lot of them, which is confusing enough.
> Option to disable to namenode local edits
> -----------------------------------------
>
> Key: HDFS-12733
> URL: https://issues.apache.org/jira/browse/HDFS-12733
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode, performance
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Priority: Major
> Attachments: HDFS-12733-001.patch, HDFS-12733-002.patch,
> HDFS-12733-003.patch, HDFS-12733.004.patch, HDFS-12733.005.patch
>
>
> As of now, Edits will be written in local and shared locations which will be
> redundant and local edits never used in HA setup.
> Disabling local edits gives little performance improvement.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]