Hello guys,
sorry for my longest response, iam working on cluster update from 0.94.1 to
0.94.5.
Ted:
yes, i'll post my solution after import data into production cluster
Asaf:
"Why do you need to use prefix split policy?"
Maybe i don't need it. I want distribute "unknown" keys to all nodes, avoi
ROUP BY category_id
HAVING count(comment_id) > 100
Regards,
James
On 03/06/2013 11:42 PM, Asaf Mesika wrote:
I would convert each id to long and then use Bytes.toBytes to convert this
long to a byte array. If it is an int then even better.
Now, write all 3 longs one after another to one
int.
Why do you need to use prefix split policy?
On Monday, March 4, 2013, Lukáš Drbal wrote:
> Hi,
>
> i have one question about rowkey design and presplit table.
>
> My usecase:
> I need store a lot of comments where each comment are for one article and
> this article has o
; >
> > > Lukas Drbal
> > >
> > >
> > > 2013/3/4 Jilal Oussama
> > >
> > > > You can split in your application using a regular expression on the
> > > > underscore char if the langage supports them (like sp
4 Jilal Oussama
> >
> > > You can split in your application using a regular expression on the
> > > underscore char if the langage supports them (like spliting data of a
> csv
> > > file)
> > >
> > >
> > > 2013/3/4 Lukáš Drbal
>
t;
> Lukas Drbal
>
>
> 2013/3/4 Jilal Oussama
>
> > You can split in your application using a regular expression on the
> > underscore char if the langage supports them (like spliting data of a csv
> > file)
> >
> >
> > 2013/3/4 Lukáš Drbal
>
using a regular expression on the
> underscore char if the langage supports them (like spliting data of a csv
> file)
>
>
> 2013/3/4 Lukáš Drbal
>
> > Hi,
> >
> > i have one question about rowkey design and presplit table.
> >
> > My usecase:
> >
You can split in your application using a regular expression on the
underscore char if the langage supports them (like spliting data of a csv
file)
2013/3/4 Lukáš Drbal
> Hi,
>
> i have one question about rowkey design and presplit table.
>
> My usecase:
> I need store a lot
Hi,
i have one question about rowkey design and presplit table.
My usecase:
I need store a lot of comments where each comment are for one article and
this article has one category.
What i need:
1) read one comment by id (where i know commentId, articleId and categoryId)
2) read all coments for