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

Datanodes should skip reading replicas from cache during Rollback

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: datanode, rolling upgrades
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated: