hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6056) Use java.net.preferIPv4Stack to force IPv4
Date Wed, 12 Jan 2011 06:49:46 GMT

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

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

I tested this patch a few ways:
- echoed HADOOP_OPTS to verify new parameter is there
- changed the sysctl path to an invalid one to simulate what happens on a system without sysctl
- no error is printed or anything, just skips through due to 2>/dev/null
- changed my sysctl value to 1 and verified error message printed
- changed sysctl back to 0 and verified hadoop script still runs

Unless I hear otherwise I plan to commit this in the next few days

> 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: Michele Catasta
>             Fix For: 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.


Mime
View raw message