Re: Usage of CellUtil.getRowByte

2014-10-13 Thread Vikram Singh Chandel
(), however the Javadoc for that states, that it should generally not be used. So I'm wondering what the best way going forward would be. KeyValue.getKey() or something else, that I have not seen, so far. Thanks! Julian -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless

Re: Need help in HBase 0.98.1 CoProcessor Execution

2014-09-30 Thread Vikram Singh Chandel
you deployed the rowcount endpoint on regionservers ? bq. want to utilize Bucket Cache of HBase You need 0.96+ in order to utilize Bucket Cache Cheers On Mon, Sep 29, 2014 at 1:48 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi We are trying to migrating to* HBase

Getting Class not Found Exception while attaching CoProcessor jar( in HDFS) to table

2014-09-30 Thread Vikram Singh Chandel
://InCites-head.amers1b.ciscloud:8020/user/cloud/ICDS/CoPro/lib/RowCountCoPro0.004.jar|org.apache.hadoop.hbase.coprocessor.RowCountEndpointCoPro|1001' -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

Need help in HBase 0.98.1 CoProcessor Execution

2014-09-29 Thread Vikram Singh Chandel
. *We basically want to utilize Bucket Cache of HBase so if there's any version of HBase which has older API code + Bucket Cache that would do for us. Because right now we are stuck with this newer HBase version* -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless

HBase table is in LIMBO its neither Enabled Nor Disabled !!

2014-07-14 Thread Vikram Singh Chandel
(WritableRpcEngine.java:320) at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1428) I am able to perform scan/get on the table but unable to attach or remove a coprocessor because i can't disable it -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless

Re: Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-18 Thread Vikram Singh Chandel
Servers works in write path or read path. Not sure if I understand your problem correctly. On Tue, Jun 17, 2014 at 5:20 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi ya Anoop the comparison was between SCVF and Custom Filter. Seeing the deployment

Re: Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-18 Thread Vikram Singh Chandel
Hi Anoop here is the code for Custom Filter implementation public class MyCustomFilter extends FilterBase { /** * @param args * @author vikram singh chandel */ private byte[] value = null; private boolean filterRow = true; public MyCustomFilter() { super(); } public MyCustomFilter(byte

Re: Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-17 Thread Vikram Singh Chandel
logs during the 15 minutes ? Cheers On Jun 16, 2014, at 3:25 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi I was working on way to find a substitute for coprocessor(because of various issue with them) so tried Custom Filters and found that the custom filter are much

Re: Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-17 Thread Vikram Singh Chandel
. On Tue, Jun 17, 2014 at 5:20 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi ya Anoop the comparison was between SCVF and Custom Filter. Seeing the deployment process of Custom Filter, i.e building a jar deploying it on to all RS *i thought that the work in similar

Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-16 Thread Vikram Singh Chandel
execution *Can anyone shed some light on this.* -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

Re: Why Custom Filters are more resource exhaustive then normal single column value filter

2014-06-16 Thread Vikram Singh Chandel
, June 16, 2014, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi I was working on way to find a substitute for coprocessor(because of various issue with them) so tried Custom Filters and found that the custom filter are much more resource exhaustive (CPU) then coprocessor

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-29 Thread Vikram Singh Chandel
test for RequestVO (in the context of your coprocessor), you should be able to step into readFields() using a debugger. FYI On Wed, May 28, 2014 at 3:46 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi Following is my VO class public class RequestVO

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-28 Thread Vikram Singh Chandel
not be there. Add one and test and let us know the result. Good luck. -Anoop- On Tue, May 27, 2014 at 11:57 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi Vladimir No as of now i didn't have junit for it.will do it first thing in the morning Anoop Thanks

Re: HBase cluster design

2014-05-28 Thread Vikram Singh Chandel
. -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
:42:41 IST 2014, *org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@1506a1e, java.io.IOException: IPC server unable to read call parameters: Error in readFields * *HBase v :* 0.94.6 Cloudera (CDH 5 Distribution) *Hadoop :* 2.2.0 -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
: Can you confirm the version of HBase ? To my knowledge, cdh5 is based on 0.96 Cheers On Tue, May 27, 2014 at 1:36 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi I am trying to pass a POJO (RequestVO say) having a single member variable i.e *Text

Re: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields

2014-05-27 Thread Vikram Singh Chandel
to this: On Tue, May 27, 2014 at 10:15 AM, Ted Yu yuzhih...@gmail.com wrote: Can you confirm the version of HBase ? To my knowledge, cdh5 is based on 0.96 Cheers On Tue, May 27, 2014 at 1:36 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi

Re: How to implement sorting in HBase scans for a particular column

2014-05-02 Thread Vikram Singh Chandel
this for you when you do an ORDER BY: CREATE TABLE names(id VARCHAR NOT NULL PRIMARY KEY, name VARCHAR, age INTEGER); // populate the table SELECT * FROM names ORDER BY age; Thanks, James On Tue, Apr 29, 2014 at 5:33 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote

How to implement sorting in HBase scans for a particular column

2014-04-29 Thread Vikram Singh Chandel
can be fulfilled in real time? -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

Re: How to implement sorting in HBase scans for a particular column

2014-04-29 Thread Vikram Singh Chandel
wrote: Have you looked at Apache Phoenix ? Cheers On Apr 29, 2014, at 2:13 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi We have a requirement in which we have to get the scan result sorted on a particular column. eg. *Get Details of Authors sorted

Changes made in hbase-env.sh are not getting Reflected

2014-02-26 Thread Vikram Singh Chandel
-- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

Re: How to get Last access time of a record

2014-02-26 Thread Vikram Singh Chandel
optimization is the root of all evilĀ². :-) Best of luck! On 2/24/14, 4:38 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi Vladimir We are planing to have around 40Gb for L1 and 150Gb for L2 and when this size is breached then we have start cleaning L1 and L2. now

How to get Last access time of a record

2014-02-24 Thread Vikram Singh Chandel
* -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.

Re: How to get Last access time of a record

2014-02-24 Thread Vikram Singh Chandel
. we can get last accessed time for a record I think you could get this from your application level. On Mon, Feb 24, 2014 at 7:21 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi We are planning to implement caching mechanism for our Hbase data model for that we have

Re: How to get Last access time of a record

2014-02-24 Thread Vikram Singh Chandel
PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi We are planning to implement caching mechanism for our Hbase data model for that we have to remove the *LRU (least recently used) records* from the cached table. Is there any way by which we can get last

Re: How to get Last access time of a record

2014-02-24 Thread Vikram Singh Chandel
Platform Engineer Carrier IQ, www.carrieriq.com e-mail: vrodio...@carrieriq.com From: Vikram Singh Chandel [vikramsinghchan...@gmail.com] Sent: Monday, February 24, 2014 11:38 AM To: user@hbase.apache.org Subject: Re: How to get Last access time

Re: How to get HBase table size using API

2014-02-19 Thread Vikram Singh Chandel
of classes: ServerLoad - HServerLoad RegionLoad - HServerLoad.RegionLoad Lukas On 18.2.2014 11:19, Vikram Singh Chandel wrote: Hi Lucas As you said that RegionSizeCalculator is developed on top of 0.94, the class has interdependencies vig import org.apache.hadoop.hbase.RegionLoad; import

Re: How to get HBase table size using API

2014-02-18 Thread Vikram Singh Chandel
. plugin.system.issuetabpanels:comment-tabpanel#comment-13889745 Lukas On 11.2.2014 08:14, Vikram Singh Chandel wrote: Hi Lukas the table split constructor expects startRow, endRow and location we won't be having info about any of these. Moreover we require table size as a whole, not split size. We will use

Re: How to get HBase table size using API

2014-02-10 Thread Vikram Singh Chandel
operation on to the table(of which threshold is breached) to delete LRU records until table size is within limit (~ 50-60Gb) On Mon, Feb 10, 2014 at 6:01 PM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi The requirement is to get the hbase table size (using API) and have to save

How jumping of keys work in Fuzzy row filter

2014-02-03 Thread Vikram Singh Chandel
scan get to know where the next matching row key exists? without doing a full scan(while doing jump) -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet.