diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java index d3ceb21c80..de78e26d4e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java @@ -173,6 +173,7 @@ public Node chooseRandomWithStorageTypeTwoTrial(final String scope, * @param scope the scope where we look for node. * @param excludedScope the scope where the node must NOT be from. * @param excludedNodes the returned node must not be in this set + * @param type the storage type we search for * @return a node with required storage type */ @VisibleForTesting