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

startFileInternal() should not increment generation stamp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.1.0-beta
    • namenode
    • None

    Description

      startFileInternal() increments genStamp and passes it to FSDirectory.addFile() as a parameter, while the addFile() simply ignores the generationStamp parameter.
      We should remove the call of nextGenerationStamp() in startFileInternal() and eliminate the redundant parameter in FSDirectory.addFile().

      Attachments

        1. HDFS-4639.patch
          4 kB
          Plamen Jeliazkov
        2. HDFS-4639.patch
          4 kB
          Plamen Jeliazkov
        3. HDFS-4639.patch
          2 kB
          Plamen Jeliazkov
        4. HDFS-4639.trunk.patch
          4 kB
          Plamen Jeliazkov

        Activity

          People

            zero45 Plamen Jeliazkov
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: