Haohui Mai created HDFS-6480: -------------------------------- Summary: Move waitForReady() from FSDirectory to FSNamesystem Key: HDFS-6480 URL: https://issues.apache.org/jira/browse/HDFS-6480 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Haohui Mai Assignee: Haohui Mai Attachments: HDFS-6480.000.patch
Currently FSDirectory implements a barrier in {{waitForReady()}} / {{setReady()}} so that it only serve requests once the FSImage is fully loaded. As a part of the effort to evolve {{FSDirectory}} to a class which focuses on implementing the data structure of the namespace, this jira proposes to move the barrier one level higher to {{FSNamesystem}}. -- This message was sent by Atlassian JIRA (v6.2#6252)