KochankovID opened a new pull request, #8518:
URL: https://github.com/apache/ozone/pull/8518

   ## Enable the use of host name datanodes when working with ozone for 
selecting
   
   Please describe your PR in detail:
   This PR introduces an optional configuration to use DataNode hostnames 
instead of IP addresses for gRPC connections in Ozone.
   
   Key changes:
   - Modified XceiverClientGrpc.java to check configuration 
HDDS_DATANODE_USE_DN_HOSTNAME and use either hostname or IP address when 
creating gRPC channels
   
   - Updated debug logging to show hostname information
   
   The change provides more flexibility in environments where hostname-based 
identification is preferred over IP addresses. This can be particularly useful 
in dynamic environments where IP addresses might change but hostnames remain 
consistent.
   
   https://issues.apache.org/jira/browse/HDDS-13124
   
   ## How was this patch tested?
   
   unit tests, manual tests, workflow run on the fork git repo
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to