hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohana Rajapakse" <rohan...@googlemail.com>
Subject Re: Migrate file system
Date Wed, 04 Jun 2008 13:39:03 GMT
Thanks a lot Daniel. Now it goes much further and starts hbase, but I am
unable to create tables. I have noticed a warning in the log file that says:

2008-06-04 14:32:38,616 WARN org.apache.hadoop.util.NativeCodeLoader: Unable
to load native-hadoop library for your platform... using builtin-java
classes where applicable
I have set my jre in hbase-env.sh to jre-1.6. However there are two folders
in my hbase folder (under lib/native) with the names
"Linux-i386-32" and "Linux-amd64-64" . Do these have anything to do with the
installation?

Regards

rkr

2008/6/4 Daniel Blaisdell <lunk.djedi@gmail.com>:

> 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