From 6123d2b3d15131b2f64cc52604f2120b843ebbf9 Mon Sep 17 00:00:00 2001 From: Jonathan Hsieh Date: Wed, 3 Apr 2013 18:00:54 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/hadoop/hbase/util/FSUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java index e0027ab33da..781aee1b776 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java @@ -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); }