incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood" <stu.h...@rackspace.com>
Subject Re: question about Cassandra error
Date Fri, 03 Sep 2010 01:58:41 GMT
JNA is _not_ necessary to use Cassandra, but the server can perform some operations more efficiently
if JNA is in place.

Not sure what is causing the error you are seeing in the CLI though: those statements appear
to be valid.

-----Original Message-----
From: "Mike Peters" <cassandra@softwareprojects.com>
Sent: Thursday, September 2, 2010 8:27pm
To: user@cassandra.apache.org
Subject: Re: question about Cassandra error

  Simon,

See this page: http://www.riptano.com/blog/whats-new-cassandra-065

"Because of licensing issues <http://www.apache.org/legal/3party.html>, 
we can't distribute JNA with Cassandra, so you must manually add it to 
the Cassandra lib/ directory or otherwise place it on the classpath."

On 9/2/2010 8:35 PM, Simon Chu wrote:
> I downloaded cassendra 0.6.5 and ran it, got this error:
>
> bin/cassandra -f
>  INFO 16:46:06,198 JNA not found. Native methods will be disabled.
>  INFO 16:46:06,875 DiskAccessMode 'auto' determined to be mmap, 
> indexAccessMode is mmap
>
> is this an issue?
>
> When I tried to run cassandra cli from the example, I got the 
> following errors:
>
> cassandra> use Keyspace1 sc 'blah$'
> line 1:0 no viable alternative at input 'use'
> Invalid Statement (Type: 0)
> cassandra> set Standard2['jsmith']['first'] = 'John';
> line 1:13 mismatched input '[' expecting DOT
>
> is this a setup issue?
>
> Simon 




Mime
View raw message