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 # user >> Re: how to downgrade the metrics jar from 3.x to 2.2.0


Copy link to this message
-
Re: how to downgrade the metrics jar from 3.x to 2.2.0
Hmm, are you sure this is Kafka 0.7? Kafka 0.7 doesn't use yammer metrics
core. Only 0.8 does.

Thanks,

Jun
On Tue, Jul 30, 2013 at 2:20 PM, Nandigam, Sujitha
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> I am running kafka-0.7 but when running producer got error
> java.lang.NoSuchMethodError: com.yammer.metrics.core.TimerContext.stop()J.
>
> So I want to downgrade it to metrics 2.2.0 jar, So I replaced 3.x jars
> with 2.2.0 jars then I am unable to build the jar file getting below errors
>
> /kafka-0.7/core/src/main/scala/kafka/cluster/Partition.scala:64: object
> creation impossible, since method value in class Gauge of type ()Int is not
> defined
> [error]     new Gauge[Int] {
>
> Please help regarding this...
>
> Thanks,
> Sujitha
> "This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed, and may contain
> information that is non-public, proprietary, privileged, confidential and
> exempt from disclosure under applicable law or may be constituted as
> attorney work product. If you are not the intended recipient, you are
> hereby notified that any use, dissemination, distribution, or copying of
> this communication is strictly prohibited. If you have received this
> message in error, notify sender immediately and delete this message
> immediately."
>

 
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