You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/08/30 13:29:00 UTC

[jira] [Created] (HDFS-16197) Simplify getting NNStorage in FSNamesystem

JiangHua Zhu created HDFS-16197:
-----------------------------------

             Summary: Simplify getting NNStorage in FSNamesystem
                 Key: HDFS-16197
                 URL: https://issues.apache.org/jira/browse/HDFS-16197
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: JiangHua Zhu


In FSNamesystem, there are many places where NNStorage needs to be used (according to preliminary statistics, there are 15 times), and these places are obtained using "getFSImage().getStorage()". We should try to use a simpler way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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