HDFS-12732. Correct spellings of ramdomly to randomly in log. Contributed by hu xiaodong.
This commit is contained in:
parent
f2df6b8983
commit
3a3566e1d1
@ -614,7 +614,7 @@ protected DatanodeStorageInfo chooseLocalRack(Node localMachine,
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Failed to choose from local rack (location = " + localRack
|
||||
+ "); the second replica is not found, retry choosing ramdomly", e);
|
||||
+ "); the second replica is not found, retry choosing randomly", e);
|
||||
}
|
||||
//the second replica is not found, randomly choose one from the network
|
||||
return chooseRandom(NodeBase.ROOT, excludedNodes, blocksize,
|
||||
@ -636,7 +636,7 @@ private DatanodeStorageInfo chooseFromNextRack(Node next,
|
||||
} catch(NotEnoughReplicasException e) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Failed to choose from the next rack (location = " + nextRack
|
||||
+ "), retry choosing ramdomly", e);
|
||||
+ "), retry choosing randomly", e);
|
||||
}
|
||||
//otherwise randomly choose one from the network
|
||||
return chooseRandom(NodeBase.ROOT, excludedNodes, blocksize,
|
||||
|
Loading…
Reference in New Issue
Block a user