You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Matthias Pfau <pf...@l3s.de> on 2012/04/24 21:56:43 UTC
Inconsistent dependencies
Hi there,
we just noticed that cassandra is currently published with inconsistent
dependencies. The inconsistencies exist between the published pom and
the published distribution (tar.gz). I compared hashes of the libs of
several versions and the inconsistencies are different each time.
However, I have not found a single cassandra release without
inconsistencies.
This is a serious issue for us as we are using pom dependencies for
development/testing and a tarball distribution for production. Over the
long term it is very likely that we run into problems because sth. does
not work as expected.
I had a look at the build process of cassandra and noticed that all
dependencies that are included in the tarball are actually versioned in
the libs directory. Unfortunately, these dependencies do not match the
ones that are placed into the pom. Is there any reason for doing so?
The first things that came to my mind for solving the issue are:
a.) Remove the versioned dependencies and use ivy to retrieve the needed
dependencies for compilation and packaging
b.) Create a fat jar that includes all dependencies of cassandra and
publish that fat jar, too
c.) relabel all dependencies from the lib folder and republish them, too.
What do you think?
Kind regards
Matthias
Re: Inconsistent dependencies
Posted by Sylvain Lebresne <sy...@datastax.com>.
On Thu, May 17, 2012 at 2:14 AM, Rob Coli <rc...@palominodb.com> wrote:
> On Tue, Apr 24, 2012 at 12:56 PM, Matthias Pfau <pf...@l3s.de> wrote:
>> we just noticed that cassandra is currently published with inconsistent
>> dependencies. The inconsistencies exist between the published pom and the
>> published distribution (tar.gz). I compared hashes of the libs of several
>> versions and the inconsistencies are different each time. However, I have
>> not found a single cassandra release without inconsistencies.
>
> Was there every any answer to this question or resolution to this issue?
https://issues.apache.org/jira/browse/CASSANDRA-4183
>
> If not, I suggest to Matthias that he file a JIRA ticket on the Apache
> Cassandra JIRA.
>
> =Rob
>
> --
> =Robert Coli
> AIM>ALK - rcoli@palominodb.com
> YAHOO - rcoli.palominob
> SKYPE - rcoli_palominodb
Re: Inconsistent dependencies
Posted by Rob Coli <rc...@palominodb.com>.
On Tue, Apr 24, 2012 at 12:56 PM, Matthias Pfau <pf...@l3s.de> wrote:
> we just noticed that cassandra is currently published with inconsistent
> dependencies. The inconsistencies exist between the published pom and the
> published distribution (tar.gz). I compared hashes of the libs of several
> versions and the inconsistencies are different each time. However, I have
> not found a single cassandra release without inconsistencies.
Was there every any answer to this question or resolution to this issue?
If not, I suggest to Matthias that he file a JIRA ticket on the Apache
Cassandra JIRA.
=Rob
--
=Robert Coli
AIM>ALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb