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:
Jonathan Hsieh 2013-04-03 18:00:54 +00:00
parent e52f34f21b
commit 6123d2b3d1
1 changed files with 3 additions and 2 deletions

View File

@ -450,10 +450,11 @@ public abstract class FSUtils {
// version is deprecated require migration
// 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
+ " 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) {
System.out.println("WARNING! " + msg);
}