hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-11889) Datanodes should skip reading replicas from cache during Rollback
Date Fri, 26 May 2017 09:00:13 GMT

     [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message