Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Gareth Collins
Hi Renato, Are you sure that you don't have two copies of guava in your classpath? I don't have this problem (I was using both Hector and Astyanax for a while -> now transitioned completely to Astyanax). Probably the most problematic part of using the datastax or astyanax clients is that they bot

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Edward Capriolo
http://sonatype.github.io/jarjar-maven-plugin/ One way to handle thee problems is to jar jar something. Essentially repackage everything as something else and make the conflicts go away :) On Sun, May 26, 2013 at 9:53 AM, Renato Marroquín Mogrovejo < renatoj.marroq...@gmail.com> wrote: > Thanks

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Renato Marroquín Mogrovejo
This is true for different open source projects with different objectives. But IMHO Cassandra clients aim to solve one main problem which is to provide access to Cassandra, and as they all have the same goal, shouldn't they be aligned for the Cassandra community? I mean if we want to change from on

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Peter Lin
it's not unique to cassandra community. It's a problem across Java community caused by Maven fanatics. it's also the sad fact that too many popular open source projects have way more external dependencies than necessary. As an apache committer I've seen this across most java open source projects.

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Renato Marroquín Mogrovejo
Thanks for your replies! It is really a shame that is the way I would have to go. I am a contributor for the Apache Gora[1] project and we were trying to support different clients within our project but with those news, things really get complicated :-/ maybe we will go with Intravert or DataStax c

Re: Hector vs Astyanax dependency issue

2013-05-25 Thread Peter Lin
I'll second that. the maven boondoggle is a huge anti-practice for the java world. On Sat, May 25, 2013 at 12:10 PM, Edward Capriolo wrote: > This is a big Java problem with Guava and logging libraries that get > included with everything. If you bundle together enough projects you are > bound t

Re: Hector vs Astyanax dependency issue

2013-05-25 Thread Edward Capriolo
This is a big Java problem with Guava and logging libraries that get included with everything. If you bundle together enough projects you are bound to have an satisfiable breaking mismatch. The hip trend is "just use the latest from maven"so hipsters have a canned reply, "OMG!!! YOUR VERSIONS IS SO

Hector vs Astyanax dependency issue

2013-05-24 Thread Renato Marroquín Mogrovejo
Hi all, I am using Astyanax and Hector client within an application but right now I am hitting a dependency issue [1] related to Guava version being used by Hector and Astyanax which makes Maven headache. I have taken it out as exclusions within my poms but I still get the dependency issue. Do you