{"action":"closed","issue":{"url":"https://api.github.com/repos/bigmlcom/sketchy/issues/5","labels_url":"https://api.github.com/repos/bigmlcom/sketchy/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bigmlcom/sketchy/issues/5/comments","events_url":"https://api.github.com/repos/bigmlcom/sketchy/issues/5/events","html_url":"https://github.com/bigmlcom/sketchy/issues/5","id":53608453,"number":5,"title":"sketchy incompatible with hadoop because of guava depenency","user":{"login":"dribnet","id":945979,"avatar_url":"https://avatars.githubusercontent.com/u/945979?v=3","gravatar_id":"","url":"https://api.github.com/users/dribnet","html_url":"https://github.com/dribnet","followers_url":"https://api.github.com/users/dribnet/followers","following_url":"https://api.github.com/users/dribnet/following{/other_user}","gists_url":"https://api.github.com/users/dribnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dribnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dribnet/subscriptions","organizations_url":"https://api.github.com/users/dribnet/orgs","repos_url":"https://api.github.com/users/dribnet/repos","events_url":"https://api.github.com/users/dribnet/events{/privacy}","received_events_url":"https://api.github.com/users/dribnet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-07T08:23:54Z","updated_at":"2015-06-08T17:20:41Z","closed_at":"2015-06-08T17:20:41Z","body":"Hi - just wanted to let you know that I considered using this awesome looking library for a project, but had to abort because of a hadoop / guava incompatibility. This is a well known problem that you can find refrences to [all](https://github.com/paulhoule/infovore/wiki/Hadoop-And-Guava) / [over](http://stackoverflow.com/questions/23909588/nosuchmethoderror-using-guava-15-on-hadoop-2-3-0) / [the](https://issues.apache.org/jira/browse/HADOOP-10101) / [interwebs](https://groups.google.com/a/cloudera.org/forum/#!msg/cdh-user/d5_HqUSvVl4/KLLdgHsjkUcJ).\r\n\r\nMaven has a solution for this called [relocating classes](http://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html) (via the [maven shade plugin](http://maven.apache.org/plugins/maven-shade-plugin/source-repository.html)) which nicely takes care of this problem. Leiningen has support for maven-shade functionality in :uberjar-merge-with which is covered well in technomancy/leiningen#973, but for whatever reason doesn't seem to support relocation.\r\n\r\nJust wanted to share this in case anyone else has the same issue. Since for now I just needed a HyperLogLog, I'm going to instead grab AddThis' stream-lib [HyperLogLog.java](https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/stream/cardinality/HyperLogLog.java), but hope to come back to sketchy in the future if I can figure out how to shadow guava's siphashing classes."}}