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

Anatoli Shein commented on HDFS-10761:
--------------------------------------

[~James C], the patch looks good to me. (y) +1

> libhdfs++: Fix broken logic in HA retry policy
> ----------------------------------------------
>
>                 Key: HDFS-10761
>                 URL: https://issues.apache.org/jira/browse/HDFS-10761
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-10761.HDFS-8707.000.patch
>
>
> Two issues in the HA policy:
> 1) There's logic to guard against HDFS-8161, but it wasn't checking how many 
> failovers had already happened.  It'd get stuck alternating between nodes 
> forever.
> 2) Switched a ">" for a "<" so when max failovers was reached it'd keep 
> trying anyway.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to