gearpump-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu Zhang <owenzhang1...@gmail.com>
Subject Re: gearpump issue with MetricsRegistry class not found : Guess missing shaded jars
Date Wed, 05 Oct 2016 05:49:30 GMT
The shaded library has just been published(moved) to maven repo. Do you
have any previous shaded library cached locally ?

Thanks,
Manu

Ganesh <ganesh@thedatateam.in>于2016年10月4日周二 下午9:07写道:

> Hi ,
>
> I tried following the word count example using the below sbt, however it
> ends with a class not found exception stating MetricsRegistry from
> codahale  :
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/gearpump/codahale/metrics/MetricRegistry
>     at org.apache.gearpump.metrics.Metrics.<init>(Metrics.scala:33)
>     at
> org.apache.gearpump.metrics.Metrics$DummyMetrics.<init>(Metrics.scala:136)
>     at
> org.apache.gearpump.metrics.Metrics$.createExtension(Metrics.scala:132)
>
> I guess the shaded jar from codahale is placed somewhere as part of the
> build but am missing the same.
>
> Is there a dependency am missing ?Would be very helpfull if someone could
> help on understanding it better.
>
> val gearpumpVersion = "0.8.1"libraryDependencies ++= Seq(
>   "org.apache.gearpump"                %  "gearpump-core_2.11"         % gearpumpVersion,
>   "org.apache.gearpump"                %  "gearpump-streaming_2.11"         % gearpumpVersion,
>   "org.apache.gearpump"                %  "gearpump-shaded-metrics-graphite_2.11"   
     % gearpumpVersion
>  )
>
>
>
>
> Thanks/Ganesh
>
>

Mime
View raw message