[
https://issues.apache.org/jira/browse/HDFS-12733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855254#comment-16855254
]
Brahma Reddy Battula commented on HDFS-12733:
---------------------------------------------
thanks all for great discussions here. I missed to followup this.
{quote}I agree with you one hundred percent. As HDFS-14511 mentioned, I do not
find any use case of local edit in HA mode. So in my opinion, I agree that we
should do not load {{dfs.namenode.edits.dir}} anymore in HA mode if we has
config {{dfs.namenode.shared.edits.dir}} item.
{quote}
The problem might be when Shared storage crashed we can't do
"INITIALIZESHAREDEDITS" incase user dn't want to use this( as might not care
about performance,he might care reliability). By considering I have given the
patch.
IMO, having one config to have this shouldn't be problem, we can mention in
release notes about the new config.
> 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]