You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Takanobu Asanuma <ta...@apache.org> on 2020/04/30 08:27:16 UTC

About the default value of dfs.client.failover.random.order.

Hi,

Currently, the default value of dfs.client.failover.random.order is
false. If it's true, clients access to NameNodes random order instead
of the configured order which is defined in hdfs-site.xml.

Setting dfs.client.failover.random.order=true is very important for
RBF if there are multiple routers. If it's false, all the clients
point to the same router because routers are always active.

And I think dfs.client.failover.random.order=true would be good manner
for normal HA(two-NameNodes) Cluster too. If it's false and the first
NameNode is standby, clients always access to standby NameNode at
first.

So I'd like to set dfs.client.failover.random.order to true as default
from 3.4. Does anyone have any concerns?

Thanks,
- Takanobu

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


Re: About the default value of dfs.client.failover.random.order.

Posted by Takanobu Asanuma <ta...@apache.org>.
Hi,

Seems there are no concerns for now. I created HDFS-15350 addressing it.
If you have any concerns, please comment on the jira.

Thanks,
- Takanobu

2020年4月30日(木) 17:27 Takanobu Asanuma <ta...@apache.org>:
>
> Hi,
>
> Currently, the default value of dfs.client.failover.random.order is
> false. If it's true, clients access to NameNodes random order instead
> of the configured order which is defined in hdfs-site.xml.
>
> Setting dfs.client.failover.random.order=true is very important for
> RBF if there are multiple routers. If it's false, all the clients
> point to the same router because routers are always active.
>
> And I think dfs.client.failover.random.order=true would be good manner
> for normal HA(two-NameNodes) Cluster too. If it's false and the first
> NameNode is standby, clients always access to standby NameNode at
> first.
>
> So I'd like to set dfs.client.failover.random.order to true as default
> from 3.4. Does anyone have any concerns?
>
> Thanks,
> - Takanobu

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