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 "Nanda kumar (JIRA)" <ji...@apache.org> on 2018/02/02 13:04:00 UTC

[jira] [Updated] (HDFS-12991) Ozone: Service Discovery: Limit the number of datanodes (REST servers) returned by KeySpaceManager#getServiceList call

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

Nanda kumar updated HDFS-12991:
-------------------------------
    Summary: Ozone: Service Discovery: Limit the number of datanodes (REST servers) returned by KeySpaceManager#getServiceList call  (was: Ozone: Service Discovery: Limit number of datanodes (REST servers) returned by KeySpaceManager#getServiceList call)

> Ozone: Service Discovery: Limit the number of datanodes (REST servers) returned by KeySpaceManager#getServiceList call
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12991
>                 URL: https://issues.apache.org/jira/browse/HDFS-12991
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Priority: Major
>
> To limit the number of datanodes (REST servers) returned by KeySpaceManager#getServiceList call we should use {{ozone.rest.servers}} property. The value for this property can be configured in the following 3 ways.
> * List of machines
>   Expressed as a hostname/IP of the machine followed by one or more machines which are comma separated.
> * IP/netmask notation
>   Single value that looks like 192.234.200.0/255.255.255.0, In this only nodes with the matching IP address specified by this netmask will appear.
> * Regular expression which matches hostname
>   This acts as a filter on the hostnames - For example datanode\[9?\].xxx.com - will expose only datanodes that are named datanode90,datanode91..etc(assuming datanodes are numbered using decimal in this example) nodes.
> These node lists are exposed if and only if they are healthy by default.
> All these three different forms are mutually exclusive and we will flag an error if more than one form is specified.
> If the property is missing or if the value is empty, KSM will return all datanodes that are healthy.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org