Re: Old data not indexed

2011-01-15 Thread Stu Hood
As mentioned in the article you linked, index creation happens
asynchronously: when you perform the schema update call to add an index, the
index starts building in the background, and will not be completely valid
until it finishes building. I believe there is a JMX call to check the
status of this process.

On Thu, Jan 13, 2011 at 5:39 PM, Tan Yeh Zheng wrote:

> Hi all,
>
>  More specifically, I added two rows of data. Row A
> (users['A']['state']='UT') is added before I add indexing to the column
> and the Row B (users['B']['state']='UT') after indexing. When I call
> get_indexed_slices (state='UT') to query the two rows, only the Row B is
> returned. It's as if Cassandra cannot automatically index rows that are
> inserted before indexing.
>
> Thank you in advance for your help.
>
> On Thu, 2011-01-13 at 15:33 +0800, Tan Yeh Zheng wrote:
> > I tried to run the example on
> > http://www.riptano.com/blog/whats-new-cassandra-07-secondary-indexes
> > programatically.
> >
> > After I index the column "state", I tried to get_indexed_slices (where
> > state = 'UT') but it returned an empty list. But if I index first, then
> > query, it'll return the correct result. Any advise is appreciated.
> >
> > Thanks.
> >
>
> --
> Best Regards,
>
> Tan Yeh Zheng
> Software Programmer
>
>  ChartNexus® :: Chart Your Success 
>
> ChartNexus Pte. Ltd.
>
> 15 Enggor Street #10-01
> Realty Center
> Singapore 079716
> Tel:  (65) 6491 1456
> Website: www.chartnexus.com
>
> Disclaimer:
> This email is confidential and intended only for the use of the
> individual or individuals named above and may contain information that
> is privileged. If you are not the intended recipient, you are notified
> that any dissemination, distribution or copying of this email is
> strictly prohibited.
>
>


Re: Problem starting Cassandra on Ubuntu

2011-01-15 Thread Peter Schuller
> ERROR [main] 2011-01-14 15:37:49,965 DatabaseDescriptor.java (line 388) Fatal 
> error: null; mapping values are not allowed here

This indicates there is a problem with the configuration file; that
error is coming from the YAML parser. Double-check what changes you
have made relative to the version that was installed by the package;
there is probably a mistake in there somewhere. (Yes, the error
message could of course be more informative...)

--
/ Peter Schuller


Re: Do you have a site in production environment with Cassandra? What client do you use?

2011-01-15 Thread shimi
Same here, Hector with Java.

Shimi

On Fri, Jan 14, 2011 at 9:13 PM, Dan Kuebrich wrote:

> We've done hundreds of gigs in and out of cassandra 0.6.8 with pycassa 0.3.
>  Working on upgrading to 0.7 and pycassa 1.03.
>
> I don't know if we're using it wrong, but the "connection object is tied to
> a particular keyspace" constraint isn't that awesome--we have a number of
> keyspaces used simultaneously.  Haven't looked into it yet.
>
>
> On Fri, Jan 14, 2011 at 1:52 PM, Mike Wynholds wrote:
>
>> We have one in production with Ruby / fauna Cassandra gem and Cassandra
>> 0.6.x.  The project is live but is stuck in a sort of private beta, so it
>> hasn't really been run through any load scenarios.
>>
>> ..mike..
>>
>> --
>> Michael Wynholds | Carbon Five | 310.821.7125 x13 | m...@carbonfive.com
>>
>>
>>
>> On Fri, Jan 14, 2011 at 9:24 AM, Ertio Lew  wrote:
>>
>>> Hey,
>>>
>>> If you have a site in production environment or considering so, what
>>> is the client that you use to interact with Cassandra. I know that
>>> there are several clients available out there according to the
>>> language you use but I would love to know what clients are being used
>>> widely in production environments and are best to work with(support
>>> most required features for performance).
>>>
>>> Also preferably tell about the technology stack for your applications.
>>>
>>> Any suggestions, comments appreciated ?
>>>
>>> Thanks
>>> Ertio
>>>
>>
>>
>


Re: Do you have a site in production environment with Cassandra? What client do you use?

2011-01-15 Thread Daniel Lundin
python + pycassa
scala + Hector

On Fri, Jan 14, 2011 at 6:24 PM, Ertio Lew  wrote:
> Hey,
>
> If you have a site in production environment or considering so, what
> is the client that you use to interact with Cassandra. I know that
> there are several clients available out there according to the
> language you use but I would love to know what clients are being used
> widely in production environments and are best to work with(support
> most required features for performance).
>
> Also preferably tell about the technology stack for your applications.
>
> Any suggestions, comments appreciated ?
>
> Thanks
> Ertio
>


Re: Do you have a site in production environment with Cassandra? What client do you use?

2011-01-15 Thread Dave Viner
Perl using the thrift interface directly.

On Sat, Jan 15, 2011 at 6:10 AM, Daniel Lundin  wrote:

> python + pycassa
> scala + Hector
>
> On Fri, Jan 14, 2011 at 6:24 PM, Ertio Lew  wrote:
> > Hey,
> >
> > If you have a site in production environment or considering so, what
> > is the client that you use to interact with Cassandra. I know that
> > there are several clients available out there according to the
> > language you use but I would love to know what clients are being used
> > widely in production environments and are best to work with(support
> > most required features for performance).
> >
> > Also preferably tell about the technology stack for your applications.
> >
> > Any suggestions, comments appreciated ?
> >
> > Thanks
> > Ertio
> >
>