Re: Exception in HBase get

2017-07-13 Thread mukund murrali
Hi Few more pointers in the issue. Let's say there are two cells with column keys as A and B for same row. These two cells are present in two different files. Cell B is deleted recently. While scanning StoreFileScanner has read B first then reads A. Though the lexographical sorting is preserved

Re: scope of RegionCoprocessorEnvironment sharedData

2017-07-13 Thread Anoop John
No co processors can be configured either globally at cluster level (RS configuration) or at table level. You dont need preScannerOpen. I checked the code and we are passing the actual scanner been created to postScannerOpen() method. This being null in ur case been strange! Pls make sure u r

Re: Why doesn't my regex work in hbase rowfilter with my scan?

2017-07-13 Thread Ted Yu
I didn't mean that you cannot have only one filter in a filter list. Please take a look at hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java where RegexStringComparator is used. It may take you less time if you follow the example there and debug your regex using sample

Re: Why doesn't my regex work in hbase rowfilter with my scan?

2017-07-13 Thread S L
Thanks Ted. I had other filters in there but wanted to make it simple and just have one filter for now and then add them one by one until I get everything working. So I can't have just one filter in a filter list? Kind of makes it hard to debug if I have multiple filters that might be bad (or

Re: Why doesn't my regex work in hbase rowfilter with my scan?

2017-07-13 Thread Ted Yu
rowFilter is added to filter list which doesn't contain other filters. Maybe the snippet doesn't contain all the code in your class ? On Thu, Jul 13, 2017 at 5:26 PM, S L wrote: > I don't understand why my regex doesn't work when scanning hbase. > Everything looks

Why doesn't my regex work in hbase rowfilter with my scan?

2017-07-13 Thread S L
I don't understand why my regex doesn't work when scanning hbase. Everything looks good to me but for some reason, it's returning all keys when it should just return the ones I'm requesting Scan scan = new Scan(); scan.addColumn(Bytes.toBytes("raw_data"), Bytes.toBytes(fileType));

Re: Hbase on docker container with persistent storage

2017-07-13 Thread Dima Spivak
Udbhav, Volumes are Docker's way of having folders or files from the host machine bypass the union filesystem used within a Docker container. As such, if a container with a volume is killed, the data from that volume should remain there. That said, if whatever caused the container to die affects

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread jeff saremi
Thanks very much Josh From: Josh Elser Sent: Thursday, July 13, 2017 11:44:52 AM To: user@hbase.apache.org Subject: Re: How to get a list of running tasks in hbase shell? TaskMonitor is probably relying on the fact that it's invoked inside of

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread Josh Elser
TaskMonitor is probably relying on the fact that it's invoked inside of the RegionServer/Master process (note the maven module and the fact that it's a template file for the webUI). You would have to invoke an RPC to the server to get the list of Tasks. I'm not sure if such an RPC already

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread jeff saremi
would someone throw this dog a bone please? thanks From: jeff saremi Sent: Tuesday, July 11, 2017 10:55:40 AM To: user@hbase.apache.org Subject: How to get a list of running tasks in hbase shell? I sent this earlier in another thread.

Re: HBase Application Archetypes Redux

2017-07-13 Thread Robert Yokota
> Thanks Robert. Ok if we add pointer in refguide? Yes, sounds good. > Could we syndicate to the project blog before adding to the ref guide? Yes, also sounds good. On Thu, Jul 13, 2017 at 5:02 AM, Sean Busbey wrote: > Could we syndicate to the project blog before adding

Re: HBase Application Archetypes Redux

2017-07-13 Thread Sean Busbey
Could we syndicate to the project blog before adding to the ref guide? On Jul 13, 2017 3:44 AM, "stack" wrote: Thanks Robert. Ok if we add pointer in refguide? S On Jul 12, 2017 4:14 PM, "Robert Yokota" wrote: > In case anyone is interested, I wrote

Re: HBase Application Archetypes Redux

2017-07-13 Thread stack
Thanks Robert. Ok if we add pointer in refguide? S On Jul 12, 2017 4:14 PM, "Robert Yokota" wrote: > In case anyone is interested, I wrote a blog revisiting the HBase > application archetypes as presented by Lars George and Jonathan Hsieh: > >

Re: Hbase on docker container with persistent storage

2017-07-13 Thread Samir Ahmic
Hi Udbhav, Great work on hbase docker deployment was done in https://issues.apache.org/jira/browse/HBASE-12721 you may start your journey from there. As for rest of your questions maybe there are some folks here that were doing similar testing and may give you more info. Regards Samir On Thu,