I am using the stable release, 0.20.4.
I think change of rows can be detected because reset() is called at the
beginning of each row. For me, it would have been nice had I known if a
column was the last one in the current family.
I currently modified my schema a bit to make use of the currently ex
Are you on trunk? Filter interface is richer there.
As to whether the below is possible, it sounds reasonable. I can't
say for certain though unless I dug in. You might be up against the
edge of whats possibly. Seems like you want to detect when we change
rows in your filter. Filters are inhe
Hi Stack,
The custom filter is meant to do this --- given a columnFamily and a
value, it should check in all the columns whether that value is present or
not. If it is present then include the row or else skip it.
I started of by writing this on the lines of SingleColumnValueFilter(scvf).
Then something else is going on. Can you do a bit of digging?
St.Ack
On Thu, Jun 3, 2010 at 11:38 PM, Raghava Mutharaju
wrote:
> Nope, it doesn't.
>
> After recompiling, I just changed the $HBASE_HOME to the newly created build
> folder. I think that is the only change required?
>
> Regards,
> R
Nope, it doesn't.
After recompiling, I just changed the $HBASE_HOME to the newly created build
folder. I think that is the only change required?
Regards,
Raghava.
On Fri, Jun 4, 2010 at 1:46 AM, Stack wrote:
> Does your filter start working if you add it in here w/ a code of its
> own and reco
I check that out and get back to you :)
Raghava.
On Fri, Jun 4, 2010 at 1:46 AM, Stack wrote:
> Does your filter start working if you add it in here w/ a code of its
> own and recompile and relaunch?
> St.Ack
>
> On Thu, Jun 3, 2010 at 10:40 PM, Raghava Mutharaju
> wrote:
> > I found the codes
Does your filter start working if you add it in here w/ a code of its
own and recompile and relaunch?
St.Ack
On Thu, Jun 3, 2010 at 10:40 PM, Raghava Mutharaju
wrote:
> I found the codes in HBaseObjectWritable file and saw the jira too :).
> This change only effects the performance isn't it (part
I found the codes in HBaseObjectWritable file and saw the jira too :).
This change only effects the performance isn't it (particularly for small
cell data), not the actual functionality.
Regards,
Raghava.
On Fri, Jun 4, 2010 at 1:18 AM, Stack wrote:
> Look in that java file and see how all exta
Look in that java file and see how all extant filters are mentioned
and assigned a code. You need to add yours too.
St.Ack
On Thu, Jun 3, 2010 at 10:14 PM, Raghava Mutharaju
wrote:
> Thank you Angus and Guilherme :). I added the filter jar to $HBase/lib and
> the exceptions went away. Although,
Thank you Angus and Guilherme :). I added the filter jar to $HBase/lib and
the exceptions went away. Although, there now the filter doesn't return any
rows - I have to check this out.
Stack:
About HBaseObjectWritable, I have used it in serializing(write() method)
and deserializing(readFields()
You have to add it to HBaseObjectWritable too, IIRC. See how other
filters are mentioned in there (The need to do this has to go away. I
filed HBASE-2666).
St.Ack
On Thu, Jun 3, 2010 at 9:01 PM, Angus He wrote:
> Even if HBase is running in standalone mode, the scan operation is
> still runnin
Even if HBase is running in standalone mode, the scan operation is
still running in another jvm, to be specific, in HMaster process.
So you still have to either put the custom filter jar in $HBASE/lib or
set up the $HBASE/conf/hbase-env.sh properly.
On Fri, Jun 4, 2010 at 4:37 AM, Raghava Muthar
The custom filter doesn't need any additional jars.
Another point I forgot to mention is that, I am running this on a single
node (laptop) to test my filter.
Regards,
Raghava.
On Thu, Jun 3, 2010 at 4:23 PM, Guilherme Germoglio wrote:
> please check if the jars needed for your custom filter impl
please check if the jars needed for your custom filter implementation are in
hbase's classpath
On Thu, Jun 3, 2010 at 5:16 PM, Raghava Mutharaju wrote:
> Hi all,
>
> I wrote a custom filter and used it with scan. I am getting the
> following exceptions. If I use any built-in filters, it wor
14 matches
Mail list logo