You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Filippo Diotalevi <fi...@ntoklo.com> on 2012/04/23 15:07:58 UTC
How to set the KeyRange in an Hadoop+Cassandra job
Hi,
I'm trying to set the KeyRange using the ConfigHelper API for a Cassandra 1.0.8 + Hadoop job.
The only API I see is
public static void setInputRange(Configuration conf, String startToken, String endToken)
which allows me to set a key range specifying the startToken and endToken, but I'd like to set the starting and ending row key. How can I achieve that?
Thanks,
--
Filippo Diotalevi
filippo@ntoklo.com
m: +44(0)7543 286 481
www.ntoklo.com
Re: How to set the KeyRange in an Hadoop+Cassandra job
Posted by Harsh J <ha...@cloudera.com>.
Hey Filippo,
I think this question best belongs to the Cassandra user lists
(user@cassandra.apache.org) as it is pretty specific to its APIs and
implementation.
On Mon, Apr 23, 2012 at 6:37 PM, Filippo Diotalevi <fi...@ntoklo.com> wrote:
> Hi,
> I'm trying to set the KeyRange using the ConfigHelper API for a Cassandra 1.0.8 + Hadoop job.
>
> The only API I see is
>
> public static void setInputRange(Configuration conf, String startToken, String endToken)
>
> which allows me to set a key range specifying the startToken and endToken, but I'd like to set the starting and ending row key. How can I achieve that?
>
> Thanks,
> --
> Filippo Diotalevi
> filippo@ntoklo.com
> m: +44(0)7543 286 481
> www.ntoklo.com
>
--
Harsh J