Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5313

NameNode hangs during startup trying to apply OP_ADD_PATH_BASED_CACHE_DIRECTIVE.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • HDFS-4949
    • None
    • namenode
    • None

    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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment