28799
DISCUSSIONS
102184
MEMBERS
3161
ARTICLES
Created on 01-18-2020 08:08 PM - edited 01-18-2020 08:46 PM
Hi,
We have a scenario that namenode should provide the data node addresses with host names instead of ip addresses to the client for write/read operations to/from datanodes. There are two Ethernets configured for cluster nodes. one is for internal use(cluster-192.x.x.x series) and other is for external use(10.x.x.x series)
Tried setting up dfs.client.use.datanode.hostname=true, but no luck.
Tried configuring dfs_all_hosts.txt with hostnames, but the entries with datanode hostnames got appended to dfs_all_hosts.txt, still client trying to use datanodes ip addresses instead of hostnames.
Note: Client is out of the cluster
Please help me out!!
Thanks in advance!!