hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8661) DataNode should filter the set of NameSpaceInfos passed to Datasets
Date Fri, 26 Jun 2015 01:40:05 GMT

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

Arpit Agarwal updated HDFS-8661:
--------------------------------
    Attachment: HDFS-8661-HDFS-7240.02.patch

Thanks for the review [~anu].

v2 patch addresses your feedback, fixes unit test failures and whitespace issues.

Fixes for unit tests:
# effectiveVolumes should be an ordered set to give a predictable ordering of directories
in the updated config key. Also fixed the unit test to not depend on a fixed ordering.
# {{datasets.get(nsInfo)}} -> {{datasets.get(nsInfo.getNodeType())}}

> DataNode should filter the set of NameSpaceInfos passed to Datasets
> -------------------------------------------------------------------
>
>                 Key: HDFS-8661
>                 URL: https://issues.apache.org/jira/browse/HDFS-8661
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: HDFS-7240
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-8661-HDFS-7240.01.patch, HDFS-8661-HDFS-7240.02.patch
>
>
> {{DataNode#refreshVolumes}} passes the list of NamespaceInfos to each dataset when adding
new volumes.
> This list should be filtered by the correct NodeType(s) for each dataset. e.g. in a shared
HDFS+Ozone cluster, FsDatasets would be notified of NN block pools and Ozone datasets would
be notified of Ozone block pool(s).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message