Re: Iterate hbase resultscanner

2015-06-10 Thread Devaraja Swami
same problem:( .can you please suggest any changes in this ? or how do i overcome this? Thanks Beeshma On Tue, Jun 9, 2015 at 10:31 AM, Devaraja Swami devarajasw...@gmail.com wrote: Beeshma, HBase recycles the same Result instance in the ResultScanner iterator, to save

Re: Iterate hbase resultscanner

2015-06-09 Thread Devaraja Swami
Beeshma, HBase recycles the same Result instance in the ResultScanner iterator, to save on memory allocation costs. With each iteration, you get the same Result object reference, re-populated internally by HBase with the new values for each iteration. If you add the Result loop variable instance

HBase technical support service providers?

2015-03-24 Thread Devaraja Swami
Hi all, A company I work with is interested in talking to outfits that can provide technical support (troubleshooting, tuning, etc) for their HBase cluster, on either an on-demand basis, or some some kind of a monthly/yearly contract [they are flexible on the nature of the contract]. If you work

Re: unable to limit number of records using scan with hbase version 0.94.15-cdh4.7.0

2015-02-25 Thread Devaraja Swami
Gurpreet, you can check this post on stack overflow: http://stackoverflow.com/questions/14002948/command-like-sql-limit-in-hbase/28130609 On Wed, Feb 25, 2015 at 7:27 AM, Ted Yu yuzhih...@gmail.com wrote: Gurpreet: Would the following method of Scan serve your needs ? * To limit the maximum

setFilter for Delete operations?

2014-12-24 Thread Devaraja Swami
Are there any plans for including a Filter for Delete? Currently, the only way seems to be via checkAndDelete in HTable/Table. This is helpful but does not cover all use cases. For e.g., I use column qualifier prefixes as a sort of poor man's 2rd level of indexing (i.e, 3 levels of indexing

Re: setFilter for Delete operations?

2014-12-24 Thread Devaraja Swami
you looked at hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/BulkDeleteEndpoint.java to see if it fits your need ? Cheers On Wed, Dec 24, 2014 at 1:34 PM, Devaraja Swami devarajasw...@gmail.com wrote: Are there any plans for including a Filter for Delete

Re: Efficient use of buffered writes in a post-HTablePool world?

2014-12-24 Thread Devaraja Swami
Would like to add my perspective as a user. (Thanks to Aaron Beppu for uncovering this hidden issue). In my applications, I have some tables for which I need autoflushing, and others for which I need a write buffer. Plus the size of the write buffer is different for different tables. All these

Re: setFilter for Delete operations?

2014-12-24 Thread Devaraja Swami
BulkDeleteEndpoint. Cheers On Wed, Dec 24, 2014 at 6:23 PM, Devaraja Swami devarajasw...@gmail.com wrote: Thanks for your reply, Ted. I looked into the coprocessor example you provided. It will definitely address my specific need. However, two aspects of this approach seem less than