hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajeshkumar J <rajeshkumarit8...@gmail.com>
Subject Re: issue in fuzzy filter
Date Tue, 05 Jan 2016 09:13:27 GMT
Hi Ted,

   I have solved this issue as this is due to illegal class name.

Thanks

On Mon, Jan 4, 2016 at 7:35 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Can you pastebin the complete error you encountered ?
> What dependencies have you added ?
>
> Thanks
>
> > On Jan 4, 2016, at 3:44 AM, Rajeshkumar J <rajeshkumarit8292@gmail.com>
> wrote:
> >
> > Hi,
> >
> > We can use fuzzy row filter when rowkey has fixed length.I decided to
> > design row key as yyyy-mm-dd| platform id | control id where platform id
> > and control id are a two digit nos.
> > we have combo box through which we can select differen values of date,
> > platform and control for search. For this we decided to use fuzzy filter.
> > So now actions can be performed by yyyy-mm-dd|??|?? and so on.
> >
> >  Now i am trying to use fuzzy row filter in java api and i tried below
> > code but it throws error.
> >
> >
> >        Configuration config = HBaseConfiguration.create();
> >
> >
> >        HTable hTable = new HTable(config, "test");
> >
> >        Scan scan = new Scan();
> >
> >        scan.setFilter(new FuzzyRowFilter(
> >                Arrays.asList(
> >                        new Pair<byte[], byte[]>(
> >
> > Bytes.toBytesBinary("\\x00\\x00\\x00\\x00_login_"),
> >                                new byte[]{1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
> > 0}))));
> >    }
> >
> >
> > I have added all the dependency jars but still it throws Create
> constructor
> > " FuzzyRowFilter(java.util.list) " and i am using hbase version 0.98.13
> >
> > Can any one help me in solving this?
> >
> >
> > Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message