hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6254) s3n fails with SocketTimeoutException
Date Mon, 14 Sep 2009 14:56:57 GMT

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

Tom White commented on HADOOP-6254:
-----------------------------------

Is it possible to set the read timeout on the socket? Setting httpclient.socket-timeout-ms
looks like it would do it - http://jets3t.s3.amazonaws.com/toolkit/configuration.html. This
would mean you can set the timeout to be large but not infinite (although you can make it
infinite if you like by setting it to the value of -1), whereas the approach in your patch
effectively sets an infinite timeout.


> s3n fails with SocketTimeoutException
> -------------------------------------
>
>                 Key: HADOOP-6254
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6254
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 0.18.3, 0.19.2, 0.20.1
>            Reporter: Andrew Hitchcock
>            Assignee: Andrew Hitchcock
>         Attachments: HADOOP-6254.diff
>
>
> If a user's map function is CPU intensive and doesn't read from the input very quickly,
compounded by the buffering of input, then S3 might think the connection has been lost and
will close the connection. Then when the user attempts to read from the input again, they'll
receive a SocketTimeoutException and the task will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message