Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
When using RequestHedgingProxyProvider, in case of Exception (like FileNotFoundException) from ActiveNameNode, RequestHedgingProxyProvider#RequestHedgingInvocationHandler.invoke receives ExecutionException since we use CompletionService for the call. The ExecutionException is put into a map and wrapped with MultiException.
So for a FileNotFoundException the client receives MultiException(Map(ExecutionException(InvocationTargetException(RemoteException(FileNotFoundException)))))
It will cause problem in clients which are handling RemoteExceptions.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-12813 RequestHedgingProxyProvider can hide Exception thrown from the Namenode for proxy size of 1
- Resolved