HBASE-768 This message 'java.io.IOException: Install 0.1.x of hbase and run its migration first' is useless (Jean-Daniel Cryans via Jim Kellerman)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Kellerman 2008-08-28 22:06:11 +00:00
parent f14cf6362a
commit 7632f2b763
2 changed files with 3 additions and 5 deletions

View File

@ -39,6 +39,9 @@ Release 0.18.0 - Unreleased
HBASE-762 deleteFamily takes timestamp, should only take row and family.
Javadoc describes both cases but only implements the timestamp
case. (Jean-Daniel Cryans via Jim Kellerman)
HBASE-768 This message 'java.io.IOException: Install 0.1.x of hbase and run
its migration first' is useless (Jean-Daniel Cryans via Jim
Kellerman)
IMPROVEMENTS
HBASE-801 When a table haven't disable, shell could response in a "user

View File

@ -176,11 +176,6 @@ public class Migrate extends Configured implements Tool {
LOG.info("No upgrade necessary.");
return 0;
}
if (versionStr == null ||
Float.parseFloat(versionStr) < HBASE_0_1_VERSION) {
throw new IOException("Install 0.1.x of hbase and run its " +
"migration first");
}
float version = Float.parseFloat(versionStr);
if (version == HBASE_0_1_VERSION) {
checkForUnrecoveredLogFiles(getRootDirFiles());