You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2013/11/04 22:54:17 UTC
[jira] [Updated] (HDFS-5455) NN should update storageMap on first
heartbeat
[ https://issues.apache.org/jira/browse/HDFS-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal updated HDFS-5455:
--------------------------------
Summary: NN should update storageMap on first heartbeat (was: NN needs to update storageMap on first heartbeat)
> NN should update storageMap on first heartbeat
> ----------------------------------------------
>
> Key: HDFS-5455
> URL: https://issues.apache.org/jira/browse/HDFS-5455
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: Heterogeneous Storage (HDFS-2832)
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Fix For: Heterogeneous Storage (HDFS-2832)
>
> Attachments: h5455.01.patch
>
>
> Currently the NN updates {{DatanodeDescriptor#storageMap}} while processing block reports but not from heartbeats. This results in the {{DatanodeStorageInfo#blockContentsStale}} being stale even after the first heartbeat is received.
> {code}
> void receivedBlockReport() {
> if (heartbeatedSinceFailover) {
> blockContentsStale = false;
> {code}
> We need to update storageMap if we see a new storage ID in a heartbeart.
--
This message was sent by Atlassian JIRA
(v6.1#6144)