The library ignores the setting dfs.client.use.datanode.hostname
This setting should make the library use names to connect to datanodes instead of the ipaddress.
In this library getIpAddr() is always used instead of using getHostName() if this setting is true.
If you have a cluster where the datanodes use internal ip-adresses in the configuration files but also have external ip-addresses for client access the getIpAddr always returns the internal ones. In this case you'd want to use the option so you get the names instead which the workstation the client runs on then resolves to the external ip adresses.
I made some adjustments on my download of this repository to enable this option and it seems to work well.
I wanted to ask if there is some way for me to commit them for inspection so they can make it back into this repository over time.
Kind regards
Max
The library ignores the setting dfs.client.use.datanode.hostname
This setting should make the library use names to connect to datanodes instead of the ipaddress.
In this library getIpAddr() is always used instead of using getHostName() if this setting is true.
If you have a cluster where the datanodes use internal ip-adresses in the configuration files but also have external ip-addresses for client access the getIpAddr always returns the internal ones. In this case you'd want to use the option so you get the names instead which the workstation the client runs on then resolves to the external ip adresses.
I made some adjustments on my download of this repository to enable this option and it seems to work well.
I wanted to ask if there is some way for me to commit them for inspection so they can make it back into this repository over time.
Kind regards
Max