hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11387) Socket resuse address option is not honored in PrivilegedNfsGatewayStarter
Date Fri, 03 Feb 2017 06:16:51 GMT
Mukul Kumar Singh created HDFS-11387:
----------------------------------------

             Summary: Socket resuse 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
            Reporter: Mukul Kumar Singh
            Assignee: Mukul Kumar Singh


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