HDFS-16298. Improve error msg for BlockMissingException (#3615)
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit ea65fc26d8
)
This commit is contained in:
parent
46e69715b5
commit
0db04fab20
|
@ -1003,7 +1003,7 @@ public class DFSInputStream extends FSInputStream
|
|||
String description = "Could not obtain block: " + blockInfo;
|
||||
DFSClient.LOG.warn(description + errMsg
|
||||
+ ". Throwing a BlockMissingException");
|
||||
throw new BlockMissingException(src, description,
|
||||
throw new BlockMissingException(src, description + errMsg,
|
||||
block.getStartOffset());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue