You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Omer van der Horst Jansen <om...@yahoo.com> on 2010/03/09 21:38:14 UTC

cassandra 0.6.0 beta 2 download contains beta 1?

The apache-cassandra-0.6.0-beta2-bin.tar.gz download contains both these files
in the apache-cassandra-0.6.0-beta2/lib directory:

 apache-cassandra-0.6.0-beta1.jar
 apache-cassandra-0.6.0-beta2.jar

Given the way the classpath is constructed, it's possible that anyone using
this download is actually running beta 1 rather than beta 2...

Omer


      

Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Bill Au <bi...@gmail.com>.
I am building from source and found the same problem.  I manually copied all
the jar files from build/lib/jars to lib and that seems to do the trick.

Bill

On Wed, Mar 10, 2010 at 1:39 PM, Vick Khera <vi...@khera.org> wrote:

> On Wed, Mar 10, 2010 at 11:30 AM, Eric Evans <ee...@rackspace.com> wrote:
> >>  apache-cassandra-0.6.0-beta1.jar
> >>  apache-cassandra-0.6.0-beta2.jar
> >
> > Ugh, my bad. I must have failed to `clean' in between the aborted beta1
> > and beta2.
> >
>
> The beta2 also does not include the other support jar files like
> log4j.  Not being a java person, I didn't know what to do so I just
> started my experimentation with the 0.5.1 release which has it all
> bundled.
>

Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Eric Evans <ee...@rackspace.com>.
On Thu, 2010-03-11 at 13:21 -0500, Vick Khera wrote:
> As a newcomer, I started by reading the wiki and following examples.
> The quick-start guide failed, so I just backed out of the beta to the
> released version.  The wiki recommends using the beta release to
> protect against on-disk format changes that may happen.

Ok, that makes sense. http://wiki.apache.org/cassandra/GettingStarted
has generally targeted the current release, so a change like this
wouldn't be documented there until after making it into a stable.

> Is it really good to make ant necessary to use the binary
> distribution?  

If we're going to get into this in any depth, we should probably start
another thread, but as I indicated in the ticket[1], this change was
introduced to solve real problems we were having with dependency
management. Basically, we traded:

* manual, tedious, and error prone task(s)
* the legal requirement to document licensing and attribution

For:

* requiring network access (though I seem to be the only one that
considers this a major drawback).
* requiring ant to be installed
* one extra step prerequisite step (invoking `ant ivy-retrieve')

So what this really boils down to is a question of which is worse, the
disease or the cure.

Bare in mind though that despite the best of intentions, license and
attribution was not being kept up with properly which results in legal
risks that are unacceptable to the ASF. It's also worth pointing out
that the dependency tree has seen quite a bit of churn in addition to
more than doubling in size (and every indication is that this will
continue in the near-term).

> Might as well just stop distributing the binary if you need a
> developer environment to use it anyway.

Maybe we should. :)


[1]: https://issues.apache.org/jira/browse/CASSANDRA-850

-- 
Eric Evans
eevans@rackspace.com


Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Vick Khera <vi...@khera.org>.
On Thu, Mar 11, 2010 at 12:53 PM, Eric Evans <ee...@rackspace.com> wrote:
> Yes, this is a new feature^H^H^H^H^Hcontroversy in that most of the
> third-party jars are no longer distributed by us, and must be fetched
> using `ant ivy-retrieve'.
>
> This is currently being disputed, see
> https://issues.apache.org/jira/browse/CASSANDRA-850 for more on that.
>
> For what it's worth, this was documented in both the changelog
> (CHANGES.txt) and the release notes (NEWS.txt), which you really should
> be reading.
>

As a newcomer, I started by reading the wiki and following examples.
The quick-start guide failed, so I just backed out of the beta to the
released version.  The wiki recommends using the beta release to
protect against on-disk format changes that may happen.

Is it really good to make ant necessary to use the binary
distribution?  Might as well just stop distributing the binary if you
need a developer environment to use it anyway.

But now I know what to do to use beta2 so perhaps I'll try again with
that.  Thanks for the info.

Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Eric Evans <ee...@rackspace.com>.
On Wed, 2010-03-10 at 13:39 -0500, Vick Khera wrote:
> On Wed, Mar 10, 2010 at 11:30 AM, Eric Evans <ee...@rackspace.com> wrote:
> >>  apache-cassandra-0.6.0-beta1.jar
> >>  apache-cassandra-0.6.0-beta2.jar
> >
> > Ugh, my bad. I must have failed to `clean' in between the aborted beta1
> > and beta2.
> >
> 
> The beta2 also does not include the other support jar files like
> log4j.  Not being a java person, I didn't know what to do so I just
> started my experimentation with the 0.5.1 release which has it all
> bundled.

Yes, this is a new feature^H^H^H^H^Hcontroversy in that most of the
third-party jars are no longer distributed by us, and must be fetched
using `ant ivy-retrieve'.

This is currently being disputed, see
https://issues.apache.org/jira/browse/CASSANDRA-850 for more on that.

For what it's worth, this was documented in both the changelog
(CHANGES.txt) and the release notes (NEWS.txt), which you really should
be reading.


-- 
Eric Evans
eevans@rackspace.com


Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Vick Khera <vi...@khera.org>.
On Wed, Mar 10, 2010 at 11:30 AM, Eric Evans <ee...@rackspace.com> wrote:
>>  apache-cassandra-0.6.0-beta1.jar
>>  apache-cassandra-0.6.0-beta2.jar
>
> Ugh, my bad. I must have failed to `clean' in between the aborted beta1
> and beta2.
>

The beta2 also does not include the other support jar files like
log4j.  Not being a java person, I didn't know what to do so I just
started my experimentation with the 0.5.1 release which has it all
bundled.

Re: cassandra 0.6.0 beta 2 download contains beta 1?

Posted by Eric Evans <ee...@rackspace.com>.
On Tue, 2010-03-09 at 12:38 -0800, Omer van der Horst Jansen wrote:
> The apache-cassandra-0.6.0-beta2-bin.tar.gz download contains both these files
> in the apache-cassandra-0.6.0-beta2/lib directory:
> 
>  apache-cassandra-0.6.0-beta1.jar
>  apache-cassandra-0.6.0-beta2.jar

Ugh, my bad. I must have failed to `clean' in between the aborted beta1
and beta2.

> Given the way the classpath is constructed, it's possible that anyone using
> this download is actually running beta 1 rather than beta 2...    

The only difference between beta1 and beta2 was a couple of bytes worth
of version metadata, so it really wouldn't matter in this context.

-- 
Eric Evans
eevans@rackspace.com