You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by charles du <ta...@gmail.com> on 2009/09/22 00:11:30 UTC
org.apache.hadoop.hbase.TableNotFoundException: .META.
Hi:
I installed hbase 0.19.3. I tried a bunch of table creation/insertion a
while ago, and it worked.
When I tried to create a table today, I got an error message complaining
about no region server. Then, I restarted hbase, and got the following error
messages when I tried to list tables.
Exceptions:
org.apache.hadoop.hbase.TableNotFoundException: .META.
org.apache.hadoop.hbase.TableNotFoundException: .META.
org.apache.hadoop.hbase.TableNotFoundException: .META.
org.apache.hadoop.hbase.TableNotFoundException: .META.
org.apache.hadoop.hbase.TableNotFoundException: .META.
I checked the hbase directory under hdfs, and a directory ".META" is there,
and there is no file corruption.
Could you please given me some hints on this issue? I ran hadoop rebalancer
over the past several days to balance hadoop files. Does it matter to hbase?
Thanks.
--
tp
Re: org.apache.hadoop.hbase.TableNotFoundException: .META.
Posted by stack <st...@duboce.net>.
A fine gentleman by the name of Eric Tschetter wrote a patch for hbase 0.20
that makes the few changes that are needed to make it run on hadoop 0.19.x:
https://issues.apache.org/jira/browse/HBASE-1691
St.Ack
On Mon, Sep 21, 2009 at 5:29 PM, charles du <ta...@gmail.com> wrote:
> Thanks for the information.
>
> For my issue, I restarted hbase after I removed '/hbase' from hdfs.
> Everything works fine now except that I lost tables previously stored in
> hbase. Because my hbase shares a hdfs with a bunch of other apps, I cannot
> upgrade hadoop in near future.
>
> I am wondering what caused the problem, so I can try to avoid it. Thanks.
>
> Regards
>
> tp.
>
> On Mon, Sep 21, 2009 at 4:58 PM, Bradford Stephens <
> bradfordstephens@gmail.com> wrote:
>
> > If you can, upgrade to hadoop-0.20 and hbase-0.20 -- issues like this are
> > mostly resolved in those releases. This is probably related to a bug that
> > was fixed in that release.
> >
> >
> > On Mon, Sep 21, 2009 at 3:27 PM, charles du <ta...@gmail.com>
> wrote:
> >
> > > Hi:
> > >
> > > Here is another exception I got.
> > >
> > > NativeException:
> > org.apache.hadoop.hbase.client.RetriesExhaustedException:
> > > Trying to *contact region server null for region *, row '', but failed
> > > after
> > > 5 attempts.
> > >
> > > Thanks.
> > >
> > > Chuang
> > >
> > > On Mon, Sep 21, 2009 at 3:11 PM, charles du <ta...@gmail.com>
> > wrote:
> > >
> > > > Hi:
> > > >
> > > > I installed hbase 0.19.3. I tried a bunch of table creation/insertion
> a
> > > > while ago, and it worked.
> > > >
> > > > When I tried to create a table today, I got an error message
> > complaining
> > > > about no region server. Then, I restarted hbase, and got the
> following
> > > error
> > > > messages when I tried to list tables.
> > > >
> > > > Exceptions:
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > >
> > > > I checked the hbase directory under hdfs, and a directory ".META" is
> > > there,
> > > > and there is no file corruption.
> > > >
> > > > Could you please given me some hints on this issue? I ran hadoop
> > > rebalancer
> > > > over the past several days to balance hadoop files. Does it matter to
> > > hbase?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > --
> > > > tp
> > > >
> > >
> > >
> > >
> > > --
> > > tp
> > >
> >
> >
> >
> > --
> > http://www.roadtofailure.com -- The Fringes of Scalability, Social
> Media,
> > and Computer Science
> >
>
>
>
> --
> tp
>
Re: org.apache.hadoop.hbase.TableNotFoundException: .META.
Posted by Bradford Stephens <br...@gmail.com>.
Hadoop's API is backwards compatible, your other apps should be just fine
with the upgrade, IIRC :)
Your issue was probably this one:
http://issues.apache.org/jira/browse/HBASE-1761
On Mon, Sep 21, 2009 at 5:29 PM, charles du <ta...@gmail.com> wrote:
> Thanks for the information.
>
> For my issue, I restarted hbase after I removed '/hbase' from hdfs.
> Everything works fine now except that I lost tables previously stored in
> hbase. Because my hbase shares a hdfs with a bunch of other apps, I cannot
> upgrade hadoop in near future.
>
> I am wondering what caused the problem, so I can try to avoid it. Thanks.
>
> Regards
>
> tp.
>
> On Mon, Sep 21, 2009 at 4:58 PM, Bradford Stephens <
> bradfordstephens@gmail.com> wrote:
>
> > If you can, upgrade to hadoop-0.20 and hbase-0.20 -- issues like this are
> > mostly resolved in those releases. This is probably related to a bug that
> > was fixed in that release.
> >
> >
> > On Mon, Sep 21, 2009 at 3:27 PM, charles du <ta...@gmail.com>
> wrote:
> >
> > > Hi:
> > >
> > > Here is another exception I got.
> > >
> > > NativeException:
> > org.apache.hadoop.hbase.client.RetriesExhaustedException:
> > > Trying to *contact region server null for region *, row '', but failed
> > > after
> > > 5 attempts.
> > >
> > > Thanks.
> > >
> > > Chuang
> > >
> > > On Mon, Sep 21, 2009 at 3:11 PM, charles du <ta...@gmail.com>
> > wrote:
> > >
> > > > Hi:
> > > >
> > > > I installed hbase 0.19.3. I tried a bunch of table creation/insertion
> a
> > > > while ago, and it worked.
> > > >
> > > > When I tried to create a table today, I got an error message
> > complaining
> > > > about no region server. Then, I restarted hbase, and got the
> following
> > > error
> > > > messages when I tried to list tables.
> > > >
> > > > Exceptions:
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > >
> > > > I checked the hbase directory under hdfs, and a directory ".META" is
> > > there,
> > > > and there is no file corruption.
> > > >
> > > > Could you please given me some hints on this issue? I ran hadoop
> > > rebalancer
> > > > over the past several days to balance hadoop files. Does it matter to
> > > hbase?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > --
> > > > tp
> > > >
> > >
> > >
> > >
> > > --
> > > tp
> > >
> >
> >
> >
> > --
> > http://www.roadtofailure.com -- The Fringes of Scalability, Social
> Media,
> > and Computer Science
> >
>
>
>
> --
> tp
>
--
http://www.roadtofailure.com -- The Fringes of Scalability, Social Media,
and Computer Science
Re: org.apache.hadoop.hbase.TableNotFoundException: .META.
Posted by charles du <ta...@gmail.com>.
Thanks for the information.
For my issue, I restarted hbase after I removed '/hbase' from hdfs.
Everything works fine now except that I lost tables previously stored in
hbase. Because my hbase shares a hdfs with a bunch of other apps, I cannot
upgrade hadoop in near future.
I am wondering what caused the problem, so I can try to avoid it. Thanks.
Regards
tp.
On Mon, Sep 21, 2009 at 4:58 PM, Bradford Stephens <
bradfordstephens@gmail.com> wrote:
> If you can, upgrade to hadoop-0.20 and hbase-0.20 -- issues like this are
> mostly resolved in those releases. This is probably related to a bug that
> was fixed in that release.
>
>
> On Mon, Sep 21, 2009 at 3:27 PM, charles du <ta...@gmail.com> wrote:
>
> > Hi:
> >
> > Here is another exception I got.
> >
> > NativeException:
> org.apache.hadoop.hbase.client.RetriesExhaustedException:
> > Trying to *contact region server null for region *, row '', but failed
> > after
> > 5 attempts.
> >
> > Thanks.
> >
> > Chuang
> >
> > On Mon, Sep 21, 2009 at 3:11 PM, charles du <ta...@gmail.com>
> wrote:
> >
> > > Hi:
> > >
> > > I installed hbase 0.19.3. I tried a bunch of table creation/insertion a
> > > while ago, and it worked.
> > >
> > > When I tried to create a table today, I got an error message
> complaining
> > > about no region server. Then, I restarted hbase, and got the following
> > error
> > > messages when I tried to list tables.
> > >
> > > Exceptions:
> > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > >
> > > I checked the hbase directory under hdfs, and a directory ".META" is
> > there,
> > > and there is no file corruption.
> > >
> > > Could you please given me some hints on this issue? I ran hadoop
> > rebalancer
> > > over the past several days to balance hadoop files. Does it matter to
> > hbase?
> > >
> > > Thanks.
> > >
> > >
> > > --
> > > tp
> > >
> >
> >
> >
> > --
> > tp
> >
>
>
>
> --
> http://www.roadtofailure.com -- The Fringes of Scalability, Social Media,
> and Computer Science
>
--
tp
Re: org.apache.hadoop.hbase.TableNotFoundException: .META.
Posted by Bradford Stephens <br...@gmail.com>.
If you can, upgrade to hadoop-0.20 and hbase-0.20 -- issues like this are
mostly resolved in those releases. This is probably related to a bug that
was fixed in that release.
On Mon, Sep 21, 2009 at 3:27 PM, charles du <ta...@gmail.com> wrote:
> Hi:
>
> Here is another exception I got.
>
> NativeException: org.apache.hadoop.hbase.client.RetriesExhaustedException:
> Trying to *contact region server null for region *, row '', but failed
> after
> 5 attempts.
>
> Thanks.
>
> Chuang
>
> On Mon, Sep 21, 2009 at 3:11 PM, charles du <ta...@gmail.com> wrote:
>
> > Hi:
> >
> > I installed hbase 0.19.3. I tried a bunch of table creation/insertion a
> > while ago, and it worked.
> >
> > When I tried to create a table today, I got an error message complaining
> > about no region server. Then, I restarted hbase, and got the following
> error
> > messages when I tried to list tables.
> >
> > Exceptions:
> > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > org.apache.hadoop.hbase.TableNotFoundException: .META.
> > org.apache.hadoop.hbase.TableNotFoundException: .META.
> >
> > I checked the hbase directory under hdfs, and a directory ".META" is
> there,
> > and there is no file corruption.
> >
> > Could you please given me some hints on this issue? I ran hadoop
> rebalancer
> > over the past several days to balance hadoop files. Does it matter to
> hbase?
> >
> > Thanks.
> >
> >
> > --
> > tp
> >
>
>
>
> --
> tp
>
--
http://www.roadtofailure.com -- The Fringes of Scalability, Social Media,
and Computer Science
Re: org.apache.hadoop.hbase.TableNotFoundException: .META.
Posted by charles du <ta...@gmail.com>.
Hi:
Here is another exception I got.
NativeException: org.apache.hadoop.hbase.client.RetriesExhaustedException:
Trying to *contact region server null for region *, row '', but failed after
5 attempts.
Thanks.
Chuang
On Mon, Sep 21, 2009 at 3:11 PM, charles du <ta...@gmail.com> wrote:
> Hi:
>
> I installed hbase 0.19.3. I tried a bunch of table creation/insertion a
> while ago, and it worked.
>
> When I tried to create a table today, I got an error message complaining
> about no region server. Then, I restarted hbase, and got the following error
> messages when I tried to list tables.
>
> Exceptions:
> org.apache.hadoop.hbase.TableNotFoundException: .META.
> org.apache.hadoop.hbase.TableNotFoundException: .META.
> org.apache.hadoop.hbase.TableNotFoundException: .META.
> org.apache.hadoop.hbase.TableNotFoundException: .META.
> org.apache.hadoop.hbase.TableNotFoundException: .META.
>
> I checked the hbase directory under hdfs, and a directory ".META" is there,
> and there is no file corruption.
>
> Could you please given me some hints on this issue? I ran hadoop rebalancer
> over the past several days to balance hadoop files. Does it matter to hbase?
>
> Thanks.
>
>
> --
> tp
>
--
tp