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:
parent
0761ef1951
commit
2c54fd41ef
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue