From d150f061f4ebde923fda28ea898a9606b8789758 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 22 Feb 2017 15:16:09 -0800 Subject: [PATCH] HDFS-11438. Fix typo in error message of StoragePolicyAdmin tool. Contributed by Alison Yu. --- .../java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java index 4e4f018f0b..f0643b2dbd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java @@ -259,7 +259,7 @@ public int run(Configuration conf, List args) throws IOException { 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; }