finally, I made the partitioner working after changing the partition key to
be string.
and add the key.serializer.class to the config props. thanks for the help.


On Thu, Jan 17, 2013 at 7:57 PM, Jane Wang <ja...@twitter.com> wrote:

> I also tried with the constructor
> ExpertSearchCollectionPartitioner(VerifiableProperties props) {
> }
>
> Still the same error.
>
> I also tried the constructor without any parameter and with parameter Long.
> None of them worked.
>
>
>
>
>
> On Thu, Jan 17, 2013 at 7:08 PM, Jay Kreps <jay.kr...@gmail.com> wrote:
>
>> Hi Jane,
>>
>> This error is
>> java.lang.NoSuchMethodException:
>> com.twitter.expertsearch.indexing.jit.ExpertSearchCollectionPartitio
>> ner.<init>(kafka.utils.VerifiableProperties)
>>
>> It means that you need to have a constructor which takes a single
>> argument,
>> VerifiableProperties. This is a way to pass any configuration from the
>> producer properties to your partitioner instance.
>>
>> Sorry there is no real documentation for this as it is new to 0.8 and we
>> haven't finished the 0.8 documentation.
>>
>> -Jay
>>
>> On Thu, Jan 17, 2013 at 5:29 PM, Jane Wang <ja...@twitter.com> wrote:
>>
>> > java.lang.NoSuchMethodException:
>> >
>> >
>> com.twitter.expertsearch.indexing.jit.ExpertSearchCollectionPartitioner.<init>(kafka.utils.VerifiableProperties)
>> >
>>
>
>

Reply via email to