hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parmeet Arora <parmee...@hcl.com>
Subject RE: issue in migration
Date Mon, 04 Jan 2016 14:10:29 GMT
Hii,
How to migrate data in hbase-0.94.8 to hbase-1.1.0? With hbase-0.94.8,I was using Hadoop-1.x
and with hbase-1.1.0 ,I was using hadoop2.x,so how I should migrate data in hbase-0.94.8 to
hbase-1.1.0?

-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com] 
Sent: Monday, January 04, 2016 7:36 PM
To: user@hbase.apache.org
Subject: Re: issue in fuzzy filter

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
View raw message