HBASE-2489 Make the "Filesystem needs to be upgraded" error message more useful
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@940100 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27a7acafde
commit
d3ce422002
|
@ -298,6 +298,10 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-2497 ProcessServerShutdown throws NullPointerException for offline
|
HBASE-2497 ProcessServerShutdown throws NullPointerException for offline
|
||||||
regiond (Miklos Kurucz via Stack)
|
regiond (Miklos Kurucz via Stack)
|
||||||
HBASE-2499 Race condition when disabling a table leaves regions in transition
|
HBASE-2499 Race condition when disabling a table leaves regions in transition
|
||||||
|
HBASE-2489 Make the "Filesystem needs to be upgraded" error message more
|
||||||
|
useful (Benoit Sigoure via Stack)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1760 Cleanup TODOs in HTable
|
HBASE-1760 Cleanup TODOs in HTable
|
||||||
|
|
|
@ -179,8 +179,10 @@ public class FSUtils {
|
||||||
|
|
||||||
// version is deprecated require migration
|
// version is deprecated require migration
|
||||||
// Output on stdout so user sees it in terminal.
|
// Output on stdout so user sees it in terminal.
|
||||||
String msg = "File system needs to be upgraded. Run " +
|
String msg = "File system needs to be upgraded."
|
||||||
"the '${HBASE_HOME}/bin/hbase migrate' script.";
|
+ " You have version " + version
|
||||||
|
+ " and I want version " + HConstants.FILE_SYSTEM_VERSION
|
||||||
|
+ ". Run the '${HBASE_HOME}/bin/hbase migrate' script.";
|
||||||
if (message) {
|
if (message) {
|
||||||
System.out.println("WARNING! " + msg);
|
System.out.println("WARNING! " + msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue