Migrate file system

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Migrate file system

Rohana Rajapakse
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
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Jean-Daniel Cryans-2
Are your running HBase directly in the DOS shell?

Jean-Daniel

2008/6/3 Rohana Rajapakse <[hidden email]>:

> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Jean-Daniel Cryans-2
Oh no ok it's Cygwin. Sorry.

2008/6/3 Jean-Daniel Cryans <[hidden email]>:

> Are your running HBase directly in the DOS shell?
>
> Jean-Daniel
>
> 2008/6/3 Rohana Rajapakse <[hidden email]>:
>
> 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
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Rohana Rajapakse
In reply to this post by Jean-Daniel Cryans-2
I am running it directly from a shell created in "cygwin".

Thanks

rkr

2008/6/3 Jean-Daniel Cryans <[hidden email]>:

> Are your running HBase directly in the DOS shell?
>
> Jean-Daniel
>
> 2008/6/3 Rohana Rajapakse <[hidden email]>:
>
> > 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
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Rohana Rajapakse
In reply to this post by Jean-Daniel Cryans-2
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 <[hidden email]>:

> Oh no ok it's Cygwin. Sorry.
>
> 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
>
> > Are your running HBase directly in the DOS shell?
> >
> > Jean-Daniel
> >
> > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> >
> > 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
> >>
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Daniel Blaisdell
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 <[hidden email]>
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 <[hidden email]>:
>
> > Oh no ok it's Cygwin. Sorry.
> >
> > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> >
> > > Are your running HBase directly in the DOS shell?
> > >
> > > Jean-Daniel
> > >
> > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > >
> > > 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
> > >>
> > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Jean-Daniel Cryans-2
In reply to this post by Rohana Rajapakse
Can you post your hbase-site.xml file please? Also, Cygwin is not well
supported by either Hadoop and HBase so we may not be able to help you.

Jean-Daniel

2008/6/4 Rohana Rajapakse <[hidden email]>:

> 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 <[hidden email]>:
>
> > Oh no ok it's Cygwin. Sorry.
> >
> > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> >
> > > Are your running HBase directly in the DOS shell?
> > >
> > > Jean-Daniel
> > >
> > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > >
> > > 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
> > >>
> > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Rohana Rajapakse
In reply to this post by Daniel Blaisdell
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 <[hidden email]>:

> 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 <[hidden email]>
> 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 <[hidden email]>:
> >
> > > Oh no ok it's Cygwin. Sorry.
> > >
> > > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> > >
> > > > Are your running HBase directly in the DOS shell?
> > > >
> > > > Jean-Daniel
> > > >
> > > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > > >
> > > > 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
> > > >>
> > > >
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Daniel Blaisdell
What that is saying is it's not using any native libraries for extra speed
increases and is replacing them with pure java classes instead. I personally
have JAVA_HOME pointing to the top level JDK directory, not the JRE. Don't
know if that will change anything for you.

-Daniel

On Wed, Jun 4, 2008 at 9:39 AM, Rohana Rajapakse <[hidden email]>
wrote:

> 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 <[hidden email]>:
>
> > 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 <
> [hidden email]>
> > 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 <[hidden email]>:
> > >
> > > > Oh no ok it's Cygwin. Sorry.
> > > >
> > > > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> > > >
> > > > > Are your running HBase directly in the DOS shell?
> > > > >
> > > > > Jean-Daniel
> > > > >
> > > > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > > > >
> > > > > 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
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Rohana Rajapakse
In reply to this post by Jean-Daniel Cryans-2
There is nothing in it. See the following:

-----------------------------------------------------------------

<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!--

/**

* Copyright 2007 The Apache Software Foundation

*

* Licensed to the Apache Software Foundation (ASF) under one

* or more contributor license agreements. See the NOTICE file

* distributed with this work for additional information

* regarding copyright ownership. The ASF licenses this file

* to you under the Apache License, Version 2.0 (the

* "License"); you may not use this file except in compliance

* with the License. You may obtain a copy of the License at

*

* http://www.apache.org/licenses/LICENSE-2.0

*

* Unless required by applicable law or agreed to in writing, software

* distributed under the License is distributed on an "AS IS" BASIS,

* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

* See the License for the specific language governing permissions and

* limitations under the License.

*/

-->

<configuration>

</configuration>

----------------------------------------------------------------





2008/6/4 Jean-Daniel Cryans <[hidden email]>:

> Can you post your hbase-site.xml file please? Also, Cygwin is not well
> supported by either Hadoop and HBase so we may not be able to help you.
>
> Jean-Daniel
>
> 2008/6/4 Rohana Rajapakse <[hidden email]>:
>
> > 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 <[hidden email]>:
> >
> > > Oh no ok it's Cygwin. Sorry.
> > >
> > > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> > >
> > > > Are your running HBase directly in the DOS shell?
> > > >
> > > > Jean-Daniel
> > > >
> > > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > > >
> > > > 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
> > > >>
> > > >
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Rohana Rajapakse
In reply to this post by Jean-Daniel Cryans-2
Setting JAVA_HOME to jdk folder didn't make any difference.

So, if Cygwin is not supported well, do you not recommend using Hbase in
windows applications(?).

Is there anyone who has used HBase in Cygwin, please give me some hints.

Thanks a lot Daniel for your support. Hope someone will post a solution to
the problem.

regards

rkr

2008/6/4 Jean-Daniel Cryans <[hidden email]>:

> Can you post your hbase-site.xml file please? Also, Cygwin is not well
> supported by either Hadoop and HBase so we may not be able to help you.
>
> Jean-Daniel
>
> 2008/6/4 Rohana Rajapakse <[hidden email]>:
>
> > 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 <[hidden email]>:
> >
> > > Oh no ok it's Cygwin. Sorry.
> > >
> > > 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
> > >
> > > > Are your running HBase directly in the DOS shell?
> > > >
> > > > Jean-Daniel
> > > >
> > > > 2008/6/3 Rohana Rajapakse <[hidden email]>:
> > > >
> > > > 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
> > > >>
> > > >
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Migrate file system

Bryan Duxbury-2
In reply to this post by Rohana Rajapakse
This is a non-critical message. Your HBase should be fine otherwise.

-Bryan

On Jun 4, 2008, at 6:39 AM, Rohana Rajapakse wrote:

> 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 <[hidden email]>:
>
>> 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  
>> <[hidden email]>
>> 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 <[hidden email]>:
>>>
>>>> Oh no ok it's Cygwin. Sorry.
>>>>
>>>> 2008/6/3 Jean-Daniel Cryans <[hidden email]>:
>>>>
>>>>> Are your running HBase directly in the DOS shell?
>>>>>
>>>>> Jean-Daniel
>>>>>
>>>>> 2008/6/3 Rohana Rajapakse <[hidden email]>:
>>>>>
>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>