HDFS-6215. Wrong error message for upgrade. (Kihwal Lee via jeagles)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1586013 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Turner Eagles 2014-04-09 16:25:35 +00:00
parent 0761ef1951
commit 2c54fd41ef
2 changed files with 4 additions and 1 deletions

View File

@ -84,6 +84,8 @@ Release 2.4.1 - UNRELEASED
IMPROVEMENTS IMPROVEMENTS
HDFS-6215. Wrong error message for upgrade. (Kihwal Lee via jeagles)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -229,7 +229,8 @@ public class FSImage implements Closeable {
+ RollingUpgradeStartupOption.STARTED.getOptionString() + RollingUpgradeStartupOption.STARTED.getOptionString()
+ "\" option if a rolling upgraded is already started;" + "\" option if a rolling upgraded is already started;"
+ " or restart NameNode with the \"" + " or restart NameNode with the \""
+ StartupOption.UPGRADE + "\" to start a new upgrade."); + StartupOption.UPGRADE.getName() + "\" option to start"
+ " a new upgrade.");
} }
storage.processStartupOptionsForUpgrade(startOpt, layoutVersion); storage.processStartupOptionsForUpgrade(startOpt, layoutVersion);