HDFS-15219. DFS Client will stuck when ResponseProcessor.run throw Error (#1902). Contributed by zhengchenyu.

(cherry picked from commit d9c4f1129c)
This commit is contained in:
Isa Hekmatizadeh 2020-03-24 17:47:22 +00:00 committed by Wei-Chiu Chuang
parent 4891f24a94
commit d64f688198
1 changed files with 1 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ class DataStreamer extends Daemon {
one.releaseBuffer(byteArrayManager); one.releaseBuffer(byteArrayManager);
} }
} catch (Exception e) { } catch (Throwable e) {
if (!responderClosed) { if (!responderClosed) {
lastException.set(e); lastException.set(e);
errorState.setInternalError(); errorState.setInternalError();