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.
|Field||Original Value||New Value|
|Component/s||namenode [ 12312926 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Hadoop Flags||Reviewed [ 10343 ]|
|Fix Version/s||2.5.0 [ 12326264 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|