You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jeff Hammerbacher <ha...@cloudera.com> on 2010/05/04 11:34:01 UTC

Re: Trove maps

Hey,

History repeating itself a bit, here: one delay in getting Cassandra into
the open source world was removing its use of the Trove collections library,
as the license (LGPL) is not compatible with the Apache 2.0 license.

Later,
Jeff

On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>wrote:

> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
> <ca...@riskmetrics.com> wrote:
> > There are forEach methods in  that would allow you to travel the
> keys/values/entries w/o creating the extra object (entries)
>
> Ok. So if change was made, it'd make sense to ensure those were used
> for traversal. Thanks!
>
> -+ Tatu +-
>

Re: Trove maps

Posted by Prashant Malik <pm...@gmail.com>.
;) ya I it was painful

On Tue, May 4, 2010 at 10:53 AM, Avinash Lakshman <
avinash.lakshman@gmail.com> wrote:

> Hahaha, Jeff - I remember scampering to remove those references to the
> Trove maps, I think around 2 years ago.
>
> Avinash
>
>
> On Tue, May 4, 2010 at 2:34 AM, Jeff Hammerbacher <ha...@cloudera.com>wrote:
>
>> Hey,
>>
>> History repeating itself a bit, here: one delay in getting Cassandra into
>> the open source world was removing its use of the Trove collections library,
>> as the license (LGPL) is not compatible with the Apache 2.0 license.
>>
>> Later,
>> Jeff
>>
>> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>wrote:
>>
>>> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
>>> <ca...@riskmetrics.com> wrote:
>>> > There are forEach methods in  that would allow you to travel the
>>> keys/values/entries w/o creating the extra object (entries)
>>>
>>> Ok. So if change was made, it'd make sense to ensure those were used
>>> for traversal. Thanks!
>>>
>>> -+ Tatu +-
>>>
>>
>>
>

Re: Trove maps

Posted by Avinash Lakshman <av...@gmail.com>.
Well it wasn't used for any critical operations. So there is no way to have
figured what impact it did or did not have.

Avinash

On Tue, May 4, 2010 at 7:49 PM, Cagatay Kavukcuoglu <cagatay@kavukcuoglu.org
> wrote:

> Did removing Trove collections have a noticeable effect on performance
> or memory use at the time?
>
> On Tuesday, May 4, 2010, Avinash Lakshman <av...@gmail.com>
> wrote:
> > Hahaha, Jeff - I remember scampering to remove those references to the
> Trove maps, I think around 2 years ago.
> > Avinash
> >
> > On Tue, May 4, 2010 at 2:34 AM, Jeff Hammerbacher <ha...@cloudera.com>
> wrote:
> > Hey,
> >
> > History repeating itself a bit, here: one delay in getting Cassandra into
> the open source world was removing its use of the Trove collections library,
> as the license (LGPL) is not compatible with the Apache 2.0 license.
> >
> > Later,
> > Jeff
> >
> > On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>
> wrote:
> >
> > On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
> > <ca...@riskmetrics.com> wrote:
> >> There are forEach methods in  that would allow you to travel the
> keys/values/entries w/o creating the extra object (entries)
> >
> > Ok. So if change was made, it'd make sense to ensure those were used
> > for traversal. Thanks!
> >
> > -+ Tatu +-
> >
> >
> >
> >
>
> --
> CK.
>

Re: Trove maps

Posted by Cagatay Kavukcuoglu <ca...@kavukcuoglu.org>.
Did removing Trove collections have a noticeable effect on performance
or memory use at the time?

On Tuesday, May 4, 2010, Avinash Lakshman <av...@gmail.com> wrote:
> Hahaha, Jeff - I remember scampering to remove those references to the Trove maps, I think around 2 years ago.
> Avinash
>
> On Tue, May 4, 2010 at 2:34 AM, Jeff Hammerbacher <ha...@cloudera.com> wrote:
> Hey,
>
> History repeating itself a bit, here: one delay in getting Cassandra into the open source world was removing its use of the Trove collections library, as the license (LGPL) is not compatible with the Apache 2.0 license.
>
> Later,
> Jeff
>
> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com> wrote:
>
> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
> <ca...@riskmetrics.com> wrote:
>> There are forEach methods in  that would allow you to travel the keys/values/entries w/o creating the extra object (entries)
>
> Ok. So if change was made, it'd make sense to ensure those were used
> for traversal. Thanks!
>
> -+ Tatu +-
>
>
>
>

-- 
CK.

Re: Trove maps

Posted by Avinash Lakshman <av...@gmail.com>.
Hahaha, Jeff - I remember scampering to remove those references to the Trove
maps, I think around 2 years ago.

Avinash

On Tue, May 4, 2010 at 2:34 AM, Jeff Hammerbacher <ha...@cloudera.com>wrote:

> Hey,
>
> History repeating itself a bit, here: one delay in getting Cassandra into
> the open source world was removing its use of the Trove collections library,
> as the license (LGPL) is not compatible with the Apache 2.0 license.
>
> Later,
> Jeff
>
> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>wrote:
>
>> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
>> <ca...@riskmetrics.com> wrote:
>> > There are forEach methods in  that would allow you to travel the
>> keys/values/entries w/o creating the extra object (entries)
>>
>> Ok. So if change was made, it'd make sense to ensure those were used
>> for traversal. Thanks!
>>
>> -+ Tatu +-
>>
>
>

Re: Trove maps

Posted by Paul Brown <pa...@gmail.com>.
We went through this with Ode w.r.t. Hibernate.  Note that Ode still ships with Hibernate support there, just not with Hibernate libraries in the distribution or with a strong dependence on Hibernate.

So, if you made Trove maps optional and provided an adapter, you'd be OK.  You just can't bundle the Trove maps or have the project require it.

-- Paul

On May 4, 2010, at 10:24 AM, Tatu Saloranta wrote:

> Oh boy... that stupid, stupid bickering about true nature of LGPL.
> Both Apache Foundation and FSF appeared like little kids arguing over
> whose dad is stronger (this was few years back, when it was discussed
> whether LGPL components could be used for Apache License projects)
> Almost made me explicitly bar use of Apache licenses for my own projects. ;-p
> 
> (no, there is absolutely no reason to avoid LGPL from ASL license
> code, absolute none -- UNLESS code is (c) by FSF, in which case maybe
> there is a problem).
> 
> But of course Apache can impose their own, however misguided silly
> rules on projects under their umbrella. :-)
> 
> -+ Tatu +-
> 
> On Tue, May 4, 2010 at 6:16 AM, Boris Shulman <sh...@gmail.com> wrote:
>> LGPL ia listed as a part of a forbidden licenses for apache projects
>> (see Excluded Licenses in http://www.apache.org/legal/3party.html)...
>> 
>> On Tue, May 4, 2010 at 12:34 PM, Jeff Hammerbacher <ha...@cloudera.com> wrote:
>>> Hey,
>>> 
>>> History repeating itself a bit, here: one delay in getting Cassandra into
>>> the open source world was removing its use of the Trove collections library,
>>> as the license (LGPL) is not compatible with the Apache 2.0 license.
>>> 
>>> Later,
>>> Jeff
>>> 
>>> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>
>>> wrote:
>>>> 
>>>> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
>>>> <ca...@riskmetrics.com> wrote:
>>>>> There are forEach methods in  that would allow you to travel the
>>>>> keys/values/entries w/o creating the extra object (entries)
>>>> 
>>>> Ok. So if change was made, it'd make sense to ensure those were used
>>>> for traversal. Thanks!
>>>> 
>>>> -+ Tatu +-
>>> 
>>> 
>> 


Re: Trove maps

Posted by Joe Stump <jo...@joestump.net>.
On May 4, 2010, at 6:24 PM, Tatu Saloranta wrote:

> But of course Apache can impose their own, however misguided silly
> rules on projects under their umbrella. :-)

I smell an -ac'esque patch to Cassandra brewing. ;)

--Joe


Re: Trove maps

Posted by Tatu Saloranta <ts...@gmail.com>.
Oh boy... that stupid, stupid bickering about true nature of LGPL.
Both Apache Foundation and FSF appeared like little kids arguing over
whose dad is stronger (this was few years back, when it was discussed
whether LGPL components could be used for Apache License projects)
Almost made me explicitly bar use of Apache licenses for my own projects. ;-p

(no, there is absolutely no reason to avoid LGPL from ASL license
code, absolute none -- UNLESS code is (c) by FSF, in which case maybe
there is a problem).

But of course Apache can impose their own, however misguided silly
rules on projects under their umbrella. :-)

-+ Tatu +-

On Tue, May 4, 2010 at 6:16 AM, Boris Shulman <sh...@gmail.com> wrote:
> LGPL ia listed as a part of a forbidden licenses for apache projects
> (see Excluded Licenses in http://www.apache.org/legal/3party.html)...
>
> On Tue, May 4, 2010 at 12:34 PM, Jeff Hammerbacher <ha...@cloudera.com> wrote:
>> Hey,
>>
>> History repeating itself a bit, here: one delay in getting Cassandra into
>> the open source world was removing its use of the Trove collections library,
>> as the license (LGPL) is not compatible with the Apache 2.0 license.
>>
>> Later,
>> Jeff
>>
>> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>
>> wrote:
>>>
>>> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
>>> <ca...@riskmetrics.com> wrote:
>>> > There are forEach methods in  that would allow you to travel the
>>> > keys/values/entries w/o creating the extra object (entries)
>>>
>>> Ok. So if change was made, it'd make sense to ensure those were used
>>> for traversal. Thanks!
>>>
>>> -+ Tatu +-
>>
>>
>

Re: Trove maps

Posted by Boris Shulman <sh...@gmail.com>.
LGPL ia listed as a part of a forbidden licenses for apache projects
(see Excluded Licenses in http://www.apache.org/legal/3party.html)...

On Tue, May 4, 2010 at 12:34 PM, Jeff Hammerbacher <ha...@cloudera.com> wrote:
> Hey,
>
> History repeating itself a bit, here: one delay in getting Cassandra into
> the open source world was removing its use of the Trove collections library,
> as the license (LGPL) is not compatible with the Apache 2.0 license.
>
> Later,
> Jeff
>
> On Sat, Apr 24, 2010 at 11:28 PM, Tatu Saloranta <ts...@gmail.com>
> wrote:
>>
>> On Sat, Apr 24, 2010 at 6:27 AM, Carlos Sanchez
>> <ca...@riskmetrics.com> wrote:
>> > There are forEach methods in  that would allow you to travel the
>> > keys/values/entries w/o creating the extra object (entries)
>>
>> Ok. So if change was made, it'd make sense to ensure those were used
>> for traversal. Thanks!
>>
>> -+ Tatu +-
>
>