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

Datanodes should skip reading replicas from cache during Rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • datanode, rolling upgrades
    • None

    Description

      During rolling upgrade rollback, Datanodes should skip reading from replica cache file.
      Cache file will be written if
      1. Datanodes shutdown gracefully by dfsadmin command.
      2. For tests, Datanode.shutdown() is called.

      Cache file will not have entries of blocks restored from trash. So these blocks will not be reported back to Namenode until another directory scan happens.

      So avoid reading from cache even if exists if ROLLBACK option is used.

      Attachments

        1. HDFS-11889-01.patch
          7 kB
          Vinayakumar B

        Activity

          People

            vinayakumarb Vinayakumar B
            vinayakumarb Vinayakumar B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: