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 12:05:10 GMT
It should be in maven repos.

I think the shaded library needs a "assembly" classifier, like

"org.apache.gearpump" %  "gearpump-shaded-metrics-graphite_2.11" %
gearpumpVersion classifier "assembly"


Thanks,
Manu



On Wed, Oct 5, 2016 at 2:45 PM Ganesh <ganesh@thedatateam.in> wrote:

> Hi Manu,
>
>
> Thanks for the response ,i see the assembly jars in
> https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/gearpump/gearpump-shaded-metrics-graphite_2.11/0.8.1/
>
>
> Any guesses on how long it might be before the rest of the repos like
> maven get to have them ?
>
>
> Thanks/Ganesh
>
> On 05-10-2016 11:19, Manu Zhang wrote:
>
> 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