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:
parent
4891f24a94
commit
d64f688198
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue