hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Blaisdell" <lunk.dj...@gmail.com>
Subject Re: Migrate file system
Date Wed, 04 Jun 2008 12:07:07 GMT
I ran into the same problem yesterday. I had manually created the /hbase
directory in HDFS and hbase was complaining. I removed the directory and let
HBase create it on the fly and the problem went away.

-Daniel

On Wed, Jun 4, 2008 at 4:35 AM, Rohana Rajapakse <rohanakr@googlemail.com>
wrote:

> I am trying to create my first Hbase data table. There are no Hbase tables
> created, yet Hbase do not start (asks for file system migration).
>
> rkr
>
> 2008/6/3 Jean-Daniel Cryans <jdcryans@gmail.com>:
>
> > Oh no ok it's Cygwin. Sorry.
> >
> > 2008/6/3 Jean-Daniel Cryans <jdcryans@gmail.com>:
> >
> > > Are your running HBase directly in the DOS shell?
> > >
> > > Jean-Daniel
> > >
> > > 2008/6/3 Rohana Rajapakse <rohanakr@googlemail.com>:
> > >
> > > Hi,
> > >>
> > >> I have just installed Hbase, but it doesn't start. It says the file
> > system
> > >> needs upgrading. I have tried the commad "hbase migrate upgrade" with
> no
> > >> luck. Follwing is the error dump:
> > >> Note: I am trying it with localhost (no regional servers). Can someone
> > >> please let me know how to get round this.
> > >>
> > >> Thanks
> > >>
> > >> rkr
> > >>
> > >>
> > >> $ ./bin/hbase migrate upgrade
> > >> 08/06/03 16:06:44 INFO util.Migrate: Verifying that file system is
> avai
> > >> 08/06/03 16:06:44 INFO util.Migrate: Verifying that HBase is not
> runnin
> > >> 08/06/03 16:06:45 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 1 time(s).
> > >> 08/06/03 16:06:47 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 2 time(s).
> > >> 08/06/03 16:06:49 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 3 time(s).
> > >> 08/06/03 16:06:51 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 4 time(s).
> > >> 08/06/03 16:06:53 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 5 time(s).
> > >> 08/06/03 16:06:55 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 6 time(s).
> > >> 08/06/03 16:06:57 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 7 time(s).
> > >> 08/06/03 16:06:59 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 8 time(s).
> > >> 08/06/03 16:07:01 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 9 time(s).
> > >> 08/06/03 16:07:03 INFO ipc.Client: Retrying connect to server:
> localhos
> > >> Already tried 10 time(s).
> > >> 08/06/03 16:07:06 INFO hbase.HLog: New log writer created at
> /C:/Docume
> > >> hanar/log_1212505625758/hlog.dat.000
> > >> 08/06/03 16:07:06 INFO util.Migrate: Starting upgrade
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file bin ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file build.xml
> ignori
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file CHANGES.txt
> igno
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file conf ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file docs ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file
> hbase-0.1.2-test
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file hbase-0.1.2.jar
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file lib ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file LICENSE.txt
> igno
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file logs ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file NOTICE.txt
> ignor
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file README.txt
> ignor
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file src ignoring
> > >> 08/06/03 16:07:06 INFO util.Migrate: Unrecognized file webapps
> ignoring
> > >> 08/06/03 16:07:06 FATAL util.Migrate: Upgrade failed
> > >> java.io.IOException: Cannot find root region hregion_70236052
> > >>        at org.apache.hadoop.hbase.util.Migrate.run(Migrate.java:194)
> > >>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> > >>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> > >>        at org.apache.hadoop.hbase.util.Migrate.main(Migrate.java:496)
> > >> 08/06/03 16:07:06 INFO hbase.HLog: New log writer created at
> /C:/Docume
> > >> hanar/log_1212505625758/hlog.dat.001
> > >> 08/06/03 16:07:06 INFO hbase.HLog: removing old log file /C:/Documents
> > >> r/log_1212505625758/hlog.dat.000 whose highest sequence/edit id is -1
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message