Chen Liang created HDFS-14858:
---------------------------------

             Summary: [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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to