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

Íñigo Goiri commented on HDFS-12514:
------------------------------------

Thanks [~shahrs87] for the comment.
It's true that we should check the rest of the string.
At this point I would move away from the {{startsWith}} pattern into a regexp 
though.


> Cancelled HedgedReads cause block to be marked as suspect on Windows
> --------------------------------------------------------------------
>
>                 Key: HDFS-12514
>                 URL: https://issues.apache.org/jira/browse/HDFS-12514
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, hdfs-client
>            Reporter: Lukas Majercak
>            Assignee: Lukas Majercak
>         Attachments: HDFS-12514.001.patch
>
>
> DFSClient with hedged reads enabled will often close previous spawned 
> connections if it successfully reads from one of them. This can result in 
> DataNode's BlockSender getting a socket exception and wrongly marking the 
> block as suspect and to be rescanned for errors.
> This patch is aimed at adding windows specific network related exception 
> messages to be ignored in BlockSender.sendPacket.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to