[
https://issues.apache.org/jira/browse/HDFS-11027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592273#comment-15592273
]
Xiaowei Zhu commented on HDFS-11027:
------------------------------------
We should consider that if there are more cases we do not want to retry, for
example permission denied.
> libhdfs++: Don't retry if there is an authentication failure
> ------------------------------------------------------------
>
> Key: HDFS-11027
> URL: https://issues.apache.org/jira/browse/HDFS-11027
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
> Attachments: HDFS-11027.HDFS-8707.000.patch
>
>
> "Authentication failed" status falls into the general !status.ok() block in
> the HA retry policy so it will keep attempting to failover. If the client
> isn't kerberized, or doesn't have the right ticket it should give up and
> return a meaningful error message (right now it returns a generic bad
> connection failure string).
> Wouldn't hurt to check the FixedDelayRetryPolicy to make sure that doesn't
> also keep attempting to retry in the same way. I suspect it does.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]