Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # user - Strange Problem on using HRegion's getScanner Method in RegionServer


+
Wukang Lin 2013-12-03, 16:22
+
Ted Yu 2013-12-03, 16:33
+
Wukang Lin 2013-12-03, 17:07
Copy link to this message
-
Re: Strange Problem on using HRegion's getScanner Method in RegionServer
Asaf Mesika 2013-12-04, 19:05
How do you check in your code you only have one region?
How do you retrieve the HRegion exactly? Since you are running in inside a
coprocessor I presume you have such rpc server per region since Hbase
creates an instance of your coprocessor for each region.

On Tuesday, December 3, 2013, Wukang Lin wrote:

> Hi Ted,
>     Thank you for your response. I use hbase-0.94.6-cdh4.4.0.
>     For test, I just have one region in the table, so, it quite sure that
> the data is inserted in the region. The RPC server is running on each
> RegionServer, one for one.
>     In my real application, I got the HRegion by HRegion EncodeName which
> is specialised as a params of the RPC call, the scan operation is carried
> on, and some old rows were scanned, but some newly inserted rows lost. but
> when i scan the region on client side, such as hbase shell, all rows can be
> got.
>    so, what's the different between the scan operation on RegionServer
> behind the client side scan and the direct scan on RegionServers side using
> HRegion's getScanner Method?
>
>     Thank you.
>
+
Wukang Lin 2013-12-05, 13:32
+
Gary Helmling 2013-12-05, 18:49
+
Wukang Lin 2013-12-09, 14:59