[ 
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.

Reply via email to