Bladeren bron

HDFS-13438. Fix javadoc in FsVolumeList#removeVolume. Contributed by Shashikant Banerjee.

(cherry picked from commit fa8b88ab2b272b29cf116a5de038d78fc4357b9d)
Bharat Viswanadham 7 jaren geleden
bovenliggende
commit
8df8cad019

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeList.java

@@ -335,7 +335,7 @@ class FsVolumeList {
 
   /**
    * Dynamically remove volume in the list.
-   * @param volume the volume to be removed.
+   * @param storageLocation {@link StorageLocation} of the volume to be removed.
    * @param clearFailure set true to remove failure info for this volume.
    */
   void removeVolume(StorageLocation storageLocation, boolean clearFailure) {