hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HadoopIPv6" by SteveLoughran
Date Wed, 20 Jan 2010 20:41:41 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HadoopIPv6" page has been changed by SteveLoughran.
The comment on this change is: NoRouteToHost coverage and workaround strategy.
http://wiki.apache.org/hadoop/HadoopIPv6?action=diff&rev1=2&rev2=3

--------------------------------------------------

  In the mean time, the main concern is that the linux distribution tries to force Hadoop
to use IPv6, which does not work.
   1. Many recent Linux distributions do not allow you to turn IPv6 off. There is a risk that
Hadoop or Jetty-under-Hadoop has picked up an IPv6 address, which is why other machines may
not be able to talk to it.
   1. Later Linux releases default to being IPv6 only. That means unless the systems are configured
to re-enable IPv4, some machines break. As of Jan 2010, this was causing problems in Debian
[[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044|1]], [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056|2]],
which is then leading to bug reports in other programs [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561|Sun
bug database]], [[https://issues.apache.org/jira/browse/HADOOP-6056|Apache Jira]].
+  1. If you see NoRouteToHost error messages, this may be the cause.
  
+ == Fixing ==
+ 
+ To fix this, you need to change your system to allow IPv4 addressing. 
+ 
+ The Fix recommended on the debian bug list is to patch the file {{{/etc/sysctl.d/bindv6only.conf}}
to set the configuration option {{{net.ipv6.bindv6only}}} to 0 and restart networking. The
automated command to do this is:
+ {{{
+ sudo sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \
+ /etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart
+ }}}
+ 

Mime
View raw message