[
https://issues.apache.org/jira/browse/HADOOP-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456542#comment-15456542
]
Allen Wittenauer commented on HADOOP-11890:
-------------------------------------------
After starting work on HADOOP-13365, it's become very clear that the way we set
the default for HADOOP_OPTS makes life significantly harder to do fancier
things. Given this branch's intended purpose and it's relationship with the
HADOOP_OPTS default, it's a great time to actually fix it prior to 3.x stable.
So I'd like to throw this out there:
* We completely remove the default setting for HADOOP_OPTS out of
hadoop_bootstrap (Sidenote: hadoop-env.sh hasn't been read yet, so users can't
set HADOOP_ALLOW_IPV6 in there to prevent that code from getting activated
anyway...)
* in hadoop_init (which will get called after hadoop-env.sh, .hadooprc, etc
etc), if HADOOP_ALLOW_IPV6 = false, we hadoop_add_param the
-Djava.net.preferIPv4Stack=true back in (use a key of java.net.preferIPv4Stack)
* change the description for HADOOP_OPTS in hadoop-env.sh (and anywhere else?)
to basically say that the default is empty. Remove the text about ipv6 from
both examples.
* Write the docs for HADOOP_ALLOW_IPV6 that basically says that if set to false
(the default... so that should get set in hadoop_bootstrap) it will attempt to
block ipv6, including trying to add -Djava.net.preferIPv4Stack=true to
HADOOP_OPTS. (We say try because hadoop_add_param may fail if the key used is
already present.)
Thoughts?
> Uber-JIRA: Hadoop should support IPv6
> -------------------------------------
>
> Key: HADOOP-11890
> URL: https://issues.apache.org/jira/browse/HADOOP-11890
> Project: Hadoop Common
> Issue Type: Improvement
> Components: net
> Reporter: Nate Edel
> Assignee: Nate Edel
> Labels: ipv6
>
> Hadoop currently treats IPv6 as unsupported. Track related smaller issues to
> support IPv6.
> (Current case here is mainly HBase on HDFS, so any suggestions about other
> test cases/workload are really appreciated.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]