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

RBW Blocks which are having less GS should be added to Corrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0, 3.0.4, 3.1.2
    • None
    • None
    • Reviewed

    Description

      1. Start two DN's  (DN1,DN2).
      2. Write fileA with rep=2 ( dn't close)
      3. Stop DN1.
      4. Write some data to fileA.
      5. restart the DN1
      6. Get the blocklocations of fileA.

      Here RWR state block will be reported on DN restart and added to locations.

      IMO,RWR blocks which having less GS shouldn't added, as they give false postive (anyway read can be failed as it's genstamp is less)

      Attachments

        1. HDFS-13840-005.patch
          7 kB
          Brahma Reddy Battula
        2. HDFS-13840-004.patch
          6 kB
          Brahma Reddy Battula
        3. HDFS-13840-003.patch
          5 kB
          Brahma Reddy Battula
        4. HDFS-13840-002.patch
          5 kB
          Brahma Reddy Battula
        5. HDFS-13840.patch
          5 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: