You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "KochankovID (via GitHub)" <gi...@apache.org> on 2025/05/28 08:34:54 UTC

[PR] HDDS-13124. Enable the use of host name datanodes when working with ozone for selecting [ozone]

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13124. Respect config hdds.datanode.use.datanode.hostname when reading from datanode [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #8518:
URL: https://github.com/apache/ozone/pull/8518#issuecomment-2915686474

   Thanks @KochankovID for the patch, @peterxcli for the review.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13124. Respect config hdds.datanode.use.datanode.hostname when reading from datanode [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #8518:
URL: https://github.com/apache/ozone/pull/8518


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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