You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Krishna Ramachandran (JIRA)" <ji...@apache.org> on 2010/06/20 23:37:23 UTC
[jira] Updated: (MAPREDUCE-1868) Add read timeout on userlog pull
[ https://issues.apache.org/jira/browse/MAPREDUCE-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krishna Ramachandran updated MAPREDUCE-1868:
--------------------------------------------
Status: Patch Available (was: Open)
This proposed fix allows job client connections to timeout during a tasklog pull. Will prevent client calls from hanging because of a bad connection.
Connection timeout for read/connect set to 60 secs by default.
Can be configured using key
"mapreduce.client.tasklog.timeout"
Patch includes changes for an earlier release
and for trunk
> Add read timeout on userlog pull
> --------------------------------
>
> Key: MAPREDUCE-1868
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1868
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: client
> Affects Versions: 0.22.0
> Reporter: Krishna Ramachandran
> Assignee: Krishna Ramachandran
> Fix For: 0.22.0
>
>
> Add read and connection timeout to prevent job client hangs
> jobclient can block indefinitely during task log pull if read or connect fails
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
> - locked <0xeed0f0f0> (a sun.net.www.protocol.http.HttpURLConnection)
> at org.apache.hadoop.mapred.JobClient.getTaskLogs(JobClient.java:1396)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.