[ 
https://issues.apache.org/jira/browse/HDDS-15772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-15772:
------------------------------------
    Summary: Stop forcing java.net.preferIPv4Stack=true  (was: Stop forcing 
java.net.preferIPv4Stack=true for Ozone daemons and tests)

> Stop forcing java.net.preferIPv4Stack=true
> ------------------------------------------
>
>                 Key: HDDS-15772
>                 URL: https://issues.apache.org/jira/browse/HDDS-15772
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Siyao Meng
>            Assignee: Chia-Chuan Ho
>            Priority: Major
>              Labels: pull-request-available
>
> Ozone starts every daemon with IPv4-only networking and runs all tests the 
> same way, so an IPv6-only host cannot start Ozone at all and no test ever 
> exercises IPv6.
> - hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh:639 sets OZONE_OPTS to 
> default "-Djava.net.preferIPv4Stack=true".
> - pom.xml:2385 sets <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> 
> for Surefire.
> - hadoop-hdds/common/src/main/conf/ozone-env.sh:89-91 documents "We do not 
> support IPv6 yet/still".
> Proposed:
> - Make the JVM stack preference configurable rather than hardcoded, and 
> default to dual-stack (do not force preferIPv4Stack).
> - Remove the forced IPv4 stack from the Surefire configuration, or gate it so 
> IPv6 test profiles can override it.
> - Update the ozone-env.sh comment once support lands.
> This is a prerequisite for any other IPv6 work to be testable or deployable.
> Parent epic: HDDS-15763.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to