hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umesh Chaudhary <umesh.chaudh...@jci.com>
Subject RE: Cannot find row in .META. for table
Date Tue, 11 Mar 2014 14:33:25 GMT
Please suggest the parameters for scannerOpen() merthod. 
As I am new to Thrift server API, Please guide me if I am passing parameters wrongly and because
of that I am getting below error.


Umesh Chaudhary

-----Original Message-----
From: Umesh Chaudhary 
Sent: Tuesday, March 11, 2014 6:36 PM
To: user@hbase.apache.org
Subject: RE: Cannot find row in .META. for table

I am getting below message while running hbck with/without parameters:

  Number of regions: 7
    Deployed on:  jci0.jci.com,60020,1394472660266 jci1.jci.com,60020,1394472671945 jci2.jci.com,60020,1394472679477
jci3.jci.com,60020,1394472703951
0 inconsistencies detected.

If there are 0 inconsistencies then why I am facing this issue?
Please check my code:

var rows = _hbase.getRow(table_name, BitConverter.GetBytes("Asset"));---> where "Asset"
is my column family.

OR

var scanner = _hbase.scannerOpen(table_name,BitConverter.GetBytes(1),columnsListinByteArray);

Because I am newbie to Thrift API for C#, please suggest how can I provide arguments for the
same.


-----Original Message-----
From: Jean-Marc Spaggiari [mailto:jean-marc@spaggiari.org]
Sent: Tuesday, March 11, 2014 5:13 PM
To: user
Subject: Re: Cannot find row in .META. for table

Before using -repair or any other parameter, I will recommend you to run it without any parameter
to have a sense of what hbck will find.

JM


2014-03-11 7:36 GMT-04:00 divye sheth <divs.sheth@gmail.com>:

> You can use the hbck utility to repair these kinds of problems.
>
> $ hbase hbck -repair
> OR
> $ hbase hbck -fixMeta
>
> Thanks
> Divye Sheth
>
>
> On Tue, Mar 11, 2014 at 4:55 PM, Umesh Chaudhary 
> <umesh.chaudhary@jci.com
> >wrote:
>
> >
> > Hi,
> > I am using Hbase 0.94.1 with Hadoop 1.2.1 and using Thrift API to 
> > access tables stored in Hbase from my C# application. I am able to 
> > connect to Server but while going to perform any operation from 
> > client it gives following error in CLI-log:
> >
> > 14/03/11 12:18:53 WARN
> > client.HConnectionManager$HConnectionImplementation: Encountered 
> > problems when prefetch META table:
> > org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in .META.
> > for table: tblAssetsView,
> >
> row=t\x00\x00\x00b\x00\x00\x00l\x00\x00\x00A\x00\x00\x00s\x00\x00\x00s
> \x00\x00\x00e\x00\x00\x00t\x00\x00\x00s\x00\x00\x00V\x00\x00\x00i\x00\
> x00\x00e\x00\x00\x00w\x00\x00\x00,,99999999999999
> >     at
> > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:151)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.prefetchRegionCache(HConnectionManager.java:1059)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegionInMeta(HConnectionManager.java:1121)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegion(HConnectionManager.java:1001)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegion(HConnectionManager.java:958)
> >     at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:251)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:155)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getTabl
> e(ThriftServerRunner.java:458)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getTabl
> e(ThriftServerRunner.java:464)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getRowW
> ithColumnsTs(ThriftServerRunner.java:766)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getRow(
> ThriftServerRunner.java:739)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:57)
> >     at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
> >     at java.lang.reflect.Method.invoke(Method.java:606)
> >     at
> >
> org.apache.hadoop.hbase.thrift.HbaseHandlerMetricsProxy.invoke(HbaseHa
> ndlerMetricsProxy.java:65)
> >     at com.sun.proxy.$Proxy6.getRow(Unknown Source)
> >     at
> >
> org.apache.hadoop.hbase.thrift.generated.Hbase$Processor$getRow.getRes
> ult(Hbase.java:3906)
> >     at
> >
> org.apache.hadoop.hbase.thrift.generated.Hbase$Processor$getRow.getRes
> ult(Hbase.java:3894)
> >     at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
> >     at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
> >     at
> >
> org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer$ClientConnnect
> ion.run(TBoundedThreadPoolServer.java:287)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1145)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:615)
> >     at java.lang.Thread.run(Thread.java:744)
> > 14/03/11 12:18:53 WARN thrift.ThriftServerRunner$HBaseHandler:
> > tblAssetsView
> > org.apache.hadoop.hbase.TableNotFoundException: tblAssetsView
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegionInMeta(HConnectionManager.java:1139)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegion(HConnectionManager.java:1001)
> >     at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplement
> ation.locateRegion(HConnectionManager.java:958)
> >     at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:251)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:155)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getTabl
> e(ThriftServerRunner.java:458)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getTabl
> e(ThriftServerRunner.java:464)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getRowW
> ithColumnsTs(ThriftServerRunner.java:766)
> >     at
> >
> org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.getRow(
> ThriftServerRunner.java:739)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:57)
> >     at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
> >     at java.lang.reflect.Method.invoke(Method.java:606)
> >     at
> >
> org.apache.hadoop.hbase.thrift.HbaseHandlerMetricsProxy.invoke(HbaseHa
> ndlerMetricsProxy.java:65)
> >     at com.sun.proxy.$Proxy6.getRow(Unknown Source)
> >     at
> >
> org.apache.hadoop.hbase.thrift.generated.Hbase$Processor$getRow.getRes
> ult(Hbase.java:3906)
> >     at
> >
> org.apache.hadoop.hbase.thrift.generated.Hbase$Processor$getRow.getRes
> ult(Hbase.java:3894)
> >     at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
> >     at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
> >     at
> >
> org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer$ClientConnnect
> ion.run(TBoundedThreadPoolServer.java:287)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1145)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:615)
> >     at java.lang.Thread.run(Thread.java:744)
> >
> >
> >
> > But I can access my table from Hbase Shell with all shell 
> > operations. I
> am
> > totally stuck here, please devise some methods to overcome this issue.
> >
> >
> > Umesh Chaudhary
> >
>
Mime
View raw message