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

   ## What changes were proposed in this pull request?
   ofs://[::1]:9862/path and o3fs://[::1]:9862/... fail because the authority 
is split on every colon.
   
   BasicRootedOzoneFileSystem.java:164-175: authority.split(":") yields more 
than two parts for a bracketed IPv6 literal and throws IllegalArgumentException 
(URI_EXCEPTION_TEXT).
   BasicOzoneFileSystem.java:167-176: same pattern.
   
   Proposed: parse the authority with an IPv6-aware helper (Guava HostAndPort / 
Hadoop NetUtils) that understands bracketed literals. Add filesystem tests that 
construct and resolve IPv6 authorities.
   
   Parent epic: [HDDS-15763](https://issues.apache.org/jira/browse/HDDS-15763).
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15775
   
   ## How was this patch tested?
   
   https://github.com/rich7420/ozone/actions/runs/30821150742
   


-- 
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