HDFS-7401. Add block info to DFSInputStream' WARN message when it adds node to deadNodes (Contributed by Arshad Mohammad)
This commit is contained in:
parent
d725dd8af6
commit
b75df697e0
@ -819,6 +819,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-8407. hdfsListDirectory must set errno to 0 on success (Masatake
|
||||
Iwasaki via Colin P. McCabe)
|
||||
|
||||
HDFS-7401. Add block info to DFSInputStream' WARN message when it adds
|
||||
node to deadNodes (Arshad Mohammad via vinayakumarb)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -631,8 +631,8 @@ private synchronized DatanodeInfo blockSeekTo(long target) throws IOException {
|
||||
fetchBlockAt(target);
|
||||
} else {
|
||||
connectFailedOnce = true;
|
||||
DFSClient.LOG.warn("Failed to connect to " + targetAddr + " for block"
|
||||
+ ", add to deadNodes and continue. " + ex, ex);
|
||||
DFSClient.LOG.warn("Failed to connect to " + targetAddr + " for block "
|
||||
+targetBlock.getBlock()+ ", add to deadNodes and continue. " + ex, ex);
|
||||
// Put chosen node into dead list, continue
|
||||
addToDeadNodes(chosenNode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user