[ 
https://issues.apache.org/jira/browse/HDFS-11889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinayakumar B reassigned HDFS-11889:
------------------------------------

       Assignee: Vinayakumar B
    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.

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to