[ https://issues.apache.org/jira/browse/HDFS-11889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinayakumar B updated HDFS-11889: --------------------------------- Status: Patch Available (was: Open) > Datanodes should skip reading replicas from cache during Rollback > ----------------------------------------------------------------- > > Key: HDFS-11889 > URL: https://issues.apache.org/jira/browse/HDFS-11889 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode, rolling upgrades > Reporter: Vinayakumar B > Assignee: Vinayakumar B > Attachments: HDFS-11889-01.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org