Description
During namenode startup, if the edits contain a OP_ADD_PATH_BASED_CACHE_DIRECTIVE for an existing file, then the process hangs while trying to apply the op. This is because of a call to FSDirectory#setCacheReplication, which calls FSDirectory#waitForReady, but of course nothing is ever going to mark the directory ready, because it's still in the process of loading.