Description
In branch-1 shouldRetry() in WebHDFSFileSystem always prints out the original exception when the retry policy decides not to retry.
While informative, this behavior quickly fills out the log.
The problem does not exist in branch-2 since shouldRetry() returns a enum, so that the upper layer can decide whether to print out the exception.
In branch-1 the code should silent this warnings.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-4720 Misleading warning message in WebhdfsFileSystem when trying to check whether path exist using webhdfs url
- Resolved