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

DataNodeCluster should create blocks with the same generation stamp as the blocks created in CreateEditsLog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.2
    • 0.19.2, 0.20.0
    • test
    • None
    • Reviewed

    Description

      HADOOP-5384 makes DataNodeCluster to create blocks with generation stamp Block#GRANDFATHER_GENERATION_STAMP(0) so simuated datanodes do not crash NameNode any more. But there is still a problem. CreateEditLogs creates blocks with generation stamp GenerationStamp#FIRST_VALID_STAMP (1000). Because of the generation stamp mismatch, all injected blocks are marked as invalid when NameNode processes block reports.

      Attachments

        1. blockGS-0.19.patch
          2 kB
          Hairong Kuang
        2. blockGS.patch
          2 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: