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] [Updated] (HDFS-11889) Datanodes should skip reading replicas from cache during Rollback
Date Sun, 28 May 2017 12:22:04 GMT

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

Vinayakumar B updated HDFS-11889:
---------------------------------
    Attachment: HDFS-11889-01.patch

Attaching the patch.
Please review.

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


Mime
View raw message