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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/02/03 02:07:18 UTC

[jira] Commented: (HADOOP-6056) Use java.net.preferIPv4Stack to force IPv4

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

Todd Lipcon commented on HADOOP-6056:
-------------------------------------

Hi Michele,

I think I'd be more comfortable with this going in if there were an environment variable to override the check and force the script to continue even if there bad setting is present. Perhaps something like $HADOOP_ALLOW_IPV6 ?

Given that you managed to get a bit farther than I did, I don't think we know for sure that it's not worth giving it a go at all. There may be some users who can run with this on, and since it's a systemwide setting it's worth allowing users the chance to try if they're unable to change the sysctl.

> 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.patch, 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.