twitter / cassovary

Cassovary is a simple big graph processing library for the JVM
http://twitter.com/cassovary
Apache License 2.0
1.05k stars 150 forks source link

Build fails due to twitter metrics dependency #209

Open plofgren opened 8 years ago

plofgren commented 8 years ago

Is there any update to the issue #180?

I have code which depends on "com.twitter" %% "cassovary-core" % "6.3.0" and when I try to compile it or do sbt update, I get unresolved dependency com.twitter.common#metrics;0.0.37: not found

I think in the past retrying has worked, but I just tried three times and all tries failed. I also hit this bug a few months ago when I tried to help another PhD student use my code, and I didn't know how to fix the problem then (I think retries eventually worked). Is there a work-around? Which part of cassovary needs finagle-stats, and would make sense to move that out of cassovary-core?

Thanks!

pankajgupta commented 8 years ago

As mentioned in that issue #180 the problem's likely cause is that of intermittently failing maven.twttr.com Another workaround is adding metrics-0.0.37.jar in the managed dependencies of your project.

For now, finagle-stats are actually used inside, but it is indeed the right thing to move them out of the core library. Creating a separate issue to do that.

bandaot commented 8 years ago

add

resolvers += "twitter" at "http://maven.twttr.com"

may solve the problem

plofgren commented 8 years ago

Thanks! I ran sbt update on a different day and it worked. If I encounter this again I'll try one of those two workarounds.