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

This commit is contained in:
Yongjun Zhang 2015-09-24 22:13:14 -07:00
parent 3187dbd7a8
commit 83e65c5fe8
2 changed files with 4 additions and 0 deletions

View File

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

View File

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