HDFS-5795. RemoteBlockReader2#checkSuccess() shoud print error status. (Xiao Chen via Yongjun Zhang)

(cherry picked from commit 83e65c5fe8)
This commit is contained in:
Yongjun Zhang 2015-09-24 22:13:14 -07:00
parent 16ae3f5d46
commit bc5ee80794
2 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,7 @@ public abstract class DataTransferProtoUtil {
} else {
throw new IOException(
"Got error"
+ ", status=" + response.getStatus().name()
+ ", status message " + response.getMessage()
+ ", " + logInfo
);

View File

@ -614,6 +614,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9134. Move LEASE_{SOFTLIMIT,HARDLIMIT}_PERIOD constants from
HdfsServerConstants to HdfsConstants. (Mingliang Liu via wheat9)
HDFS-5795. RemoteBlockReader2#checkSuccess() shoud print error status.
(Xiao Chen via Yongjun Zhang)
OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than