[
https://issues.apache.org/jira/browse/HDFS-8561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-8561:
--------------------------------
Description:
The default policy in RetryUtils does not retry RetriableExceptions even when
{{defaultRetryPolicyEnabled}} is true.
This was discovered via an HDFS client failing to retry
{{getFileBlockLocations}} after {{checkNNStartup}} failed.
was:
{{checkNNStartup}} currently throws an {{IOException}} if services have not yet
been started.
This propagates as a RemoteException to the client which is not retriable with
the default retry policy in RetryUtils.
> The default retry policy does not handle RetriableException correctly
> ----------------------------------------------------------------------
>
> Key: HDFS-8561
> URL: https://issues.apache.org/jira/browse/HDFS-8561
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.7.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Priority: Critical
> Attachments: HDFS-8561.01.patch, HDFS-8561.02.patch
>
>
> The default policy in RetryUtils does not retry RetriableExceptions even when
> {{defaultRetryPolicyEnabled}} is true.
> This was discovered via an HDFS client failing to retry
> {{getFileBlockLocations}} after {{checkNNStartup}} failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)