[ https://issues.apache.org/jira/browse/HDFS-14858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936863#comment-16936863 ]
Jim Brennan commented on HDFS-14858: ------------------------------------ [~vagarychen], [~jojochuang] As a major new feature for branch-2, I think this should default to false (DFS_NAMENODE_STATE_CONTEXT_ENABLED_DEFAULT = false). > [SBN read] Allow configurably enable/disable AlignmentContext on NameNode > ------------------------------------------------------------------------- > > Key: HDFS-14858 > URL: https://issues.apache.org/jira/browse/HDFS-14858 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs > Reporter: Chen Liang > Assignee: Chen Liang > Priority: Major > Attachments: HDFS-14858.001.patch, HDFS-14858.002.patch > > > As brought up under HDFS-14277, we should make sure SBN read has no > performance impact when it is not enabled. One potential overhead of SBN read > is maintaining and updating additional state status on NameNode. > Specifically, this is done by creating/updating/checking a > {{GlobalStateIdContext}} instance. Currently, even without enabling SBN read, > this logic is still be checked. We can make this configurable so that when > SBN read is not enabled, there is no such overhead and everything works as-is. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org