1
0
Преглед на файлове

HDFS-15739. Add missing Javadoc for a param in method chooseRandomWithStorageType (#2566)

langlaile1221 преди 4 години
родител
ревизия
4ae561bcb4
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java

+ 1 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/net/DFSNetworkTopology.java

@@ -173,6 +173,7 @@ public class DFSNetworkTopology extends NetworkTopology {
    * @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