Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19

Datanode corruption

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

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • None
    • None

    Description

      Our admins accidentally started a second nutch datanode pointing to the same directories as one already running (same machine) which in turn caused the entire contents of the datanode to go disappear.

      This happened because the blocking was based on the username (since fixed in our start scripts) and it was started as two different users.

      The ndfs.name.dir and ndfs.data.dir directories were both completely devoid of content, where they had about 150GB not all that much earlier.

      I think the solution is improved interlocking within the data directory itself (file locked with flock or something similar).

      Attachments

        Issue Links

        Activity

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

          People

            cutting Doug Cutting
            rbt Rod Taylor
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment