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

One bad node can incorrectly flag many files as corrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.1, 0.23.0
    • 0.23.0
    • hdfs-client, namenode
    • None
    • yahoo internal version
      [knoguchi@gwgd4003 ~]$ hadoop version
      Hadoop 0.20.104.3.1007030707

    • Reviewed

    Description

      On our cluster, 12 files were reported as corrupt by fsck even though the replicas on the datanodes were healthy.
      Turns out that all the replicas (12 files x 3 replicas per file) were reported corrupt from one node.

      Surprisingly, these files were still readable/accessible from dfsclient (-get/-cat) without any problems.

      Attachments

        1. HDFS-1371.04252011.patch
          25 kB
          Tanping Wang
        2. HDFS-1371.0503.patch
          21 kB
          Tanping Wang
        3. HDFS-1371.0513.patch
          27 kB
          Tanping Wang
        4. HDFS-1371.0515.patch
          27 kB
          Tanping Wang
        5. HDFS-1371.0517.2.patch
          27 kB
          Tanping Wang
        6. HDFS-1371.0517.patch
          27 kB
          Tanping Wang
        7. HDFS-1371.0518.2.patch
          27 kB
          Tanping Wang
        8. HDFS-1371.0518.patch
          13 kB
          Tanping Wang

        Activity

          People

            tanping Tanping Wang
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: