hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7949) Updated maxIdleTime default in the code to match core-default.xml
Date Thu, 05 Jan 2012 03:02:41 GMT

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

Hudson commented on HADOOP-7949:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1518 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1518/])
    HADOOP-7949. Updated maxIdleTime default in the code to match core-default.xml. Contributed
by Eli Collins

eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1227423
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestSaslRPC.java

                
> Updated maxIdleTime default in the code to match core-default.xml
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7949
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7949
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.21.0, 0.22.0, 0.23.0, 1.0.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Trivial
>         Attachments: hadoop-7949.txt, hadoop-7949.txt
>
>
> HADOOP-2909 intended to set the server max idle time for a connection to twice the client
value. ("The server-side max idle time should be greater than the client-side max idle time,
for example, twice of the client-side max idle time.") This way when a server times out a
connection it's due a crashed client and not an inactive client so we don't close client connections
with outstanding requests (by setting 2x the client value on the server side the client should
time out the connection first).
> Looks like there was a typo in the patch and it set the default value to 1/5th the client
value, instead of the intended 2x.
> {noformat}
> hadoop2 (pre-HADOOP-4687)$ git reset --hard 6fa4597e
> hadoop2 (pre-HADOOP-4687)$ grep -r ipc.client.connection.maxidletime . 
> ./src/core/org/apache/hadoop/ipc/Client.java:      conf.getInt("ipc.client.connection.maxidletime",
10000); //10s
> ./src/core/org/apache/hadoop/ipc/Server.java:    this.maxIdleTime = 2*conf.getInt("ipc.client.connection.maxidletime",
1000);
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message