HBASE-7401 Remove warning message about running 'hbase migrate'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e52f34f21b
commit
6123d2b3d1
|
@ -450,10 +450,11 @@ public abstract 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."
|
String msg = "HBase file layout needs to be upgraded."
|
||||||
+ " You have version " + version
|
+ " You have version " + version
|
||||||
+ " and I want version " + HConstants.FILE_SYSTEM_VERSION
|
+ " and I want version " + HConstants.FILE_SYSTEM_VERSION
|
||||||
+ ". Run the '${HBASE_HOME}/bin/hbase migrate' script.";
|
+ ". Is your hbase.rootdir valid? If so, you may need to run "
|
||||||
|
+ "'hbase hbck -fixVersionFile'.";
|
||||||
if (message) {
|
if (message) {
|
||||||
System.out.println("WARNING! " + msg);
|
System.out.println("WARNING! " + msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue