Kaynağa Gözat

HDFS-11438. Fix typo in error message of StoragePolicyAdmin tool. Contributed by Alison Yu.

(cherry picked from commit d150f061f4ebde923fda28ea898a9606b8789758)
Andrew Wang 8 yıl önce
ebeveyn
işleme
6c5fd82773

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java

@@ -259,7 +259,7 @@ public class StoragePolicyAdmin extends Configured implements Tool {
       final String path = StringUtils.popOptionWithArgument("-path", args);
       if (path == null) {
         System.err.println("Please specify the path from which "
-            + "the storage policy will be unsetd.\nUsage: " + getLongUsage());
+            + "the storage policy will be unset.\nUsage: " + getLongUsage());
         return 1;
       }