jianghuazhu commented on a change in pull request #3357:
URL: https://github.com/apache/hadoop/pull/3357#discussion_r702368621



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
##########
@@ -4639,6 +4639,10 @@ public FSEditLog getEditLog() {
     return getFSImage().getEditLog();
   }
 
+  public NNStorage getNNStorage() {

Review comment:
       Thanks @ayushtkn for your comments.
   Yes, it's about refactoring. I see a lot of places getting NNStorage through 
FSNamesystem, and I think it makes sense for FSNamesystem to do so.
   I will go on working.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to