You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Luca Toscano (Jira)" <ji...@apache.org> on 2020/03/26 15:17:00 UTC

[jira] [Updated] (HADOOP-16943) Allow IPv6 in hadoop_config.sh

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

Luca Toscano updated HADOOP-16943:
----------------------------------
    Description: 
Hi!

I am currently using CDH 5.x and moving to BigTop 1.4 / 1.5 (so jumping from 2.6 to 2.8.5/2.10) but the following bit of hadoop_config.sh is always there:

 # Disable ipv6 as it can cause issues
 HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true"

Is there any reason to keep it? I tried to override it via daemon-specific environment variables, but in other daemons like Hive is not that easy (see [https://phabricator.wikimedia.org/T240255#5728881] for an example). 

IPv6 should be safe to use (IIRC hdfs was the main concern at the time but it was fixed HADOOP-11890).

Thanks in advance,

Luca

 

 

  was:
Hi!

I am currently using CDH 5.x and moving to BigTop 1.4 / 1.5 (so jumping from 2.6 to 2.8.5/2.10) but the following bit of hadoop_config.sh is always there:
# Disable ipv6 as it can cause issues
HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true"
Is there any reason to keep it? I tried to override it via daemon-specific environment variables, but in other daemons like Hive is not that easy (see [https://phabricator.wikimedia.org/T240255#5728881] for an example). 

IPv6 should be safe to use (IIRC hdfs was the main concern at the time but it was fixed HADOOP-11890).

Thanks in advance,

Luca

 

 


> Allow IPv6 in hadoop_config.sh
> ------------------------------
>
>                 Key: HADOOP-16943
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16943
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Luca Toscano
>            Priority: Major
>
> Hi!
> I am currently using CDH 5.x and moving to BigTop 1.4 / 1.5 (so jumping from 2.6 to 2.8.5/2.10) but the following bit of hadoop_config.sh is always there:
>  # Disable ipv6 as it can cause issues
>  HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true"
> Is there any reason to keep it? I tried to override it via daemon-specific environment variables, but in other daemons like Hive is not that easy (see [https://phabricator.wikimedia.org/T240255#5728881] for an example). 
> IPv6 should be safe to use (IIRC hdfs was the main concern at the time but it was fixed HADOOP-11890).
> Thanks in advance,
> Luca
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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