hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6056) Use java.net.preferIPv4Stack to force IPv4
Date Mon, 14 Dec 2009 16:42:18 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790231#action_12790231

Steve Loughran commented on HADOOP-6056:

I have this problem on recent linux distros that don't let you turn IPv6 off, happens in my
own code often enough to cause problems. ( http://jira.smartfrog.org/jira/browse/SFOS-1182
) . It's worse on Ubuntu as they always insert the local hostname mapped to localhost into
/etc/hosts; if that is bonded to IPv6 then not only do you get services coming up on localhost
only, they come up on IPv6 localhost, which is a worse kind of useless:

I can now declare whether jetty can come up on IPv6 as part of the config, let me rollback
when it doesnt yet gets some IPv6 address. 

We ought to have unit tests for shell scripts, I've mentioned that before. It's just not enough
to exec the scripts, we need to make sure that IPv6 doesn't surface down the line. 

> Use java.net.preferIPv4Stack to force IPv4
> ------------------------------------------
>                 Key: HADOOP-6056
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6056
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Steve Loughran
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0, 0.22.0
>         Attachments: hadoop-6056.txt
> This was mentioned on HADOOP-3427, there is a property,  java.net.preferIPv4Stack, which
you set to true for the java net process to switch to IPv4 everywhere. 
> As Hadoop doesn't work on IPv6, this should be set to true in the startup scripts. Hopefully
this will ensure that Jetty will also pick it up.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message