You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Boris Yen <yu...@gmail.com> on 2011/08/01 03:50:45 UTC

Secondary index on composite columns?

Hi,

I was wondering if anyone would know if secondary index can be enabled on
composite columns?

Regards
Boris

Re: Secondary index on composite columns?

Posted by Jonathan Ellis <jb...@gmail.com>.
To the best of my ability to predict the future, we would probably
enhance "native" composite columns with those features, but not expose
them in the old supercolumn API.

So again, if supercolumns work for you, we won't pull the rug out from
under you, but don't start using them expecting them to become
something more advanced.

On Mon, Aug 1, 2011 at 9:05 PM, Boris Yen <yu...@gmail.com> wrote:
> Hi Jonathan,
> AFAIK, you might change the internal implementation of super column family
> by using the composite column. Does this mean that maybe the secondary index
> will be supported on super columns in the future? will you use composite
> column to add more capability to super column family or we are still advised
> not to use super column family when possible?
> Regards
> Boris
>
> On Mon, Aug 1, 2011 at 10:25 AM, Jonathan Ellis <jb...@gmail.com> wrote:
>>
>> Sure, but it's still only useful for equality predicates.
>>
>> On Sun, Jul 31, 2011 at 8:50 PM, Boris Yen <yu...@gmail.com> wrote:
>> > Hi,
>> > I was wondering if anyone would know if secondary index can be enabled
>> > on
>> > composite columns?
>> > Regards
>> > Boris
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

cassandra compile

Posted by Donna Li <do...@utstar.com>.
 

All:

I compile the cassandra source code by ant. The following error print:

 

BUILD FAILED

E:\work\research\cassandra\apache-cassandra-0.6.3-src\apache-cassandra-0
.6.3-src

\build.xml:170: taskdef A class needed by class
com.thoughtworks.paranamer.ant.P

aranamerGeneratorTask cannot be found:
com/thoughtworks/paranamer/generator/Para

namerGenerator

 

How to resolve the problem? Thanks!

 

 

Best Regards

Donna li


Re: cassandra compile

Posted by aaron morton <aa...@thelastpickle.com>.
it's probably a proxy thing, check ant and or ivy to see how to set them. 

Also, please stop using 0.6.3 there is little / no support available. 
-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 2 Aug 2011, at 18:51, Donna Li wrote:

> All:
>          I use ant to compile cassandra. It is failure on ivy download, error is “Connection refused”, but I can get it from ie. So I download it and put in on dir /build. Then I compile again, it is blocked on ivy dependency download. I download the apache-rat-0.6.jar, commons-logging-1.1.1.jar, junit-4.6.jar, paranamer-ant-2.1.jar. I put these files to /build/lib and modify build/ivy.xml to prevent download. There still have errors, I wonder why the download is failure? If I download these files by hand, how to build successfully.
>  
> check-avro-generate:
>  
> BUILD FAILED
> E:\work\research\cassandra\apache-cassandra-0.6.3-src\apache-cassandra-0.6.3-src
> \build.xml:170: taskdef A class needed by class com.thoughtworks.paranamer.ant.P
> aranamerGeneratorTask cannot be found: com/thoughtworks/paranamer/generator/Para
> namerGenerator
>  
> Best Regards
> Donna li
>  
>  
> 发件人: Donna Li 
> 发送时间: 2011年8月2日 10:16
> 收件人: 'user@cassandra.apache.org'
> 主题: cassandra compile
>  
>  
> All:
> I compile the cassandra source code by ant. The following error print:
>  
> BUILD FAILED
> E:\work\research\cassandra\apache-cassandra-0.6.3-src\apache-cassandra-0.6.3-src
> \build.xml:170: taskdef A class needed by class com.thoughtworks.paranamer.ant.P
> aranamerGeneratorTask cannot be found: com/thoughtworks/paranamer/generator/Para
> namerGenerator
>  
> How to resolve the problem? Thanks!
>  
>  
> Best Regards
> Donna li


cassandra compile

Posted by Donna Li <do...@utstar.com>.
All:

         I use ant to compile cassandra. It is failure on ivy download, error is “Connection refused”, but I can get it from ie. So I download it and put in on dir /build. Then I compile again, it is blocked on ivy dependency download. I download the apache-rat-0.6.jar, commons-logging-1.1.1.jar, junit-4.6.jar, paranamer-ant-2.1.jar. I put these files to /build/lib and modify build/ivy.xml to prevent download. There still have errors, I wonder why the download is failure? If I download these files by hand, how to build successfully.

 

check-avro-generate:

 

BUILD FAILED

E:\work\research\cassandra\apache-cassandra-0.6.3-src\apache-cassandra-0.6.3-src

\build.xml:170: taskdef A class needed by class com.thoughtworks.paranamer.ant.P

aranamerGeneratorTask cannot be found: com/thoughtworks/paranamer/generator/Para

namerGenerator

 

Best Regards

Donna li

 

 

________________________________

发件人: Donna Li 
发送时间: 2011年8月2日 10:16
收件人: 'user@cassandra.apache.org'
主题: cassandra compile

 

 

All:

I compile the cassandra source code by ant. The following error print:

 

BUILD FAILED

E:\work\research\cassandra\apache-cassandra-0.6.3-src\apache-cassandra-0.6.3-src

\build.xml:170: taskdef A class needed by class com.thoughtworks.paranamer.ant.P

aranamerGeneratorTask cannot be found: com/thoughtworks/paranamer/generator/Para

namerGenerator

 

How to resolve the problem? Thanks!

 

 

Best Regards

Donna li


Re: Secondary index on composite columns?

Posted by Boris Yen <yu...@gmail.com>.
Hi Jonathan,

AFAIK, you might change the internal implementation of super column family
by using the composite column. Does this mean that maybe the secondary index
will be supported on super columns in the future? will you use composite
column to add more capability to super column family or we are still advised
not to use super column family when possible?

Regards
Boris

On Mon, Aug 1, 2011 at 10:25 AM, Jonathan Ellis <jb...@gmail.com> wrote:

> Sure, but it's still only useful for equality predicates.
>
> On Sun, Jul 31, 2011 at 8:50 PM, Boris Yen <yu...@gmail.com> wrote:
> > Hi,
> > I was wondering if anyone would know if secondary index can be enabled on
> > composite columns?
> > Regards
> > Boris
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Re: Secondary index on composite columns?

Posted by Jonathan Ellis <jb...@gmail.com>.
Sure, but it's still only useful for equality predicates.

On Sun, Jul 31, 2011 at 8:50 PM, Boris Yen <yu...@gmail.com> wrote:
> Hi,
> I was wondering if anyone would know if secondary index can be enabled on
> composite columns?
> Regards
> Boris



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com