You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Huang Kuan Hao (Jira)" <ji...@apache.org> on 2026/07/18 09:22:00 UTC
[jira] [Assigned] (HDDS-15775) Support IPv6 literal authorities in OzoneFS URI parsing
[ https://issues.apache.org/jira/browse/HDDS-15775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Huang Kuan Hao reassigned HDDS-15775:
-------------------------------------
Assignee: Huang Kuan Hao
> Support IPv6 literal authorities in OzoneFS URI parsing
> -------------------------------------------------------
>
> Key: HDDS-15775
> URL: https://issues.apache.org/jira/browse/HDDS-15775
> Project: Apache Ozone
> Issue Type: Task
> Reporter: Siyao Meng
> Assignee: Huang Kuan Hao
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org