hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9355) Add client API to get Datanode list based on storage type
Date Wed, 30 Dec 2015 05:08:49 GMT

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

Surendra Singh Lilhore updated HDFS-9355:
    Status: Patch Available  (was: Open)

Attached initial patch.

In this patch I have added two API in {{DistributedFileSystem.java}}. 
public DatanodeStorageReport[] getDataNodeStorageStats(final DatanodeReportType type);

public DatanodeStorageReport[] getDataNodeStorageStats(final DatanodeReportType type, final
StorageType storageType);

These API will give the storage status for datanodes. It will internally call the {{DFSClient.getDatanodeStorageReport()}}
API which is added in HDFS-6739.

Please review

> Add client API to get Datanode list based on storage type
> ---------------------------------------------------------
>                 Key: HDFS-9355
>                 URL: https://issues.apache.org/jira/browse/HDFS-9355
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-9355.001.patch
> HDFS-2576 give option to hint namenode about favored nodes, but in heterogeneous cluster
this will not work out. Suppose client wants to write his data in directory which have COLD
policy, but he don't know which DN have ARCHIVE storage, So he will not able to give favoredNodes

This message was sent by Atlassian JIRA

View raw message