hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5616) MR Client-AppMaster RPC max retries on socket timeout is too high.
Date Sat, 09 Nov 2013 15:34:20 GMT

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

Chris Nauroth commented on MAPREDUCE-5616:
------------------------------------------

{quote}
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
{quote}

Trying to write a test around this timeout condition would likely be very specific to the
environment and risk breaking on other environments.


{quote}
-1 core tests. The following test timeouts occurred in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient:
org.apache.hadoop.mapreduce.v2.TestUberAM
{quote}

This is the timeout that we've seen elsewhere on {{TestUberAM}}.  It's unrelated to this patch.

> MR Client-AppMaster RPC max retries on socket timeout is too high.
> ------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5616
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5616
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: MAPREDUCE-5616.1.patch
>
>
> MAPREDUCE-3811 introduced a separate config key for overriding the max retries applied
to RPC connections from the MapReduce Client to the MapReduce Application Master.  This was
done to make failover from the AM to the MapReduce History Server faster in the event that
the AM completes while the client thinks it's still running.  However, the RPC client uses
a separate setting for socket timeouts, and this one is not overridden.  The default for this
is 45 retries with a 20-second timeout on each retry.  This means that in environments subject
to connection timeout instead of connection refused, the client waits 15 minutes for failover.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message