Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> parittioner runtime error with kafka 0.8


Copy link to this message
-
Re: parittioner runtime error with kafka 0.8
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>>
>> > java.lang.NoSuchMethodException:
>> >
>> >
>> com.twitter.expertsearch.indexing.jit.ExpertSearchCollectionPartitioner.<init>(kafka.utils.VerifiableProperties)
>> >
>>
>
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB