hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11387) Socket reuse address option is not honored in PrivilegedNfsGatewayStarter
Date Fri, 21 Apr 2017 21:35:04 GMT

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

Andrew Wang updated HDFS-11387:
-------------------------------
    Fix Version/s: 3.0.0-alpha3

> Socket reuse address option is not honored in PrivilegedNfsGatewayStarter
> -------------------------------------------------------------------------
>
>                 Key: HDFS-11387
>                 URL: https://issues.apache.org/jira/browse/HDFS-11387
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: nfs
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HDFS-11387.001.patch
>
>
> Socket resuse address option is not honored in PrivilegedNfsGatewayStarter
> This happens because the registrationSocket is first bind and then the options is set.
> According to from https://docs.oracle.com/javase/7/docs/api/java/net/StandardSocketOptions.html#SO_REUSEADDR
> Changing the value of this socket option after the socket is bound has no effect. The
default value of this socket option is system dependent.
> Need to change this to first set the option on the socket and then bind it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message