Re: Snapshot failing on JSON files in 1.1.0

2012-06-20 Thread Alain RODRIGUEZ
Hi I solved the problem. Some of my sstables where owned by root:root. Probably from a previous cluster I had. A chown -R cassandra:cassandra solved the problem. So it apparently was a combination of JNA + permission problem. No It works like a charm. Thanks ! 2012/6/20 Rob Coli

Re: Snapshot failing on JSON files in 1.1.0

2012-06-19 Thread Alain RODRIGUEZ
Hi again, apt-get install libjna-java installed nothing, I was already up to date. I made the symbolic link jna.jar to target jna-3.4.1.jar (downloaded @ the given link) instead of jna-3.2.4.jar. I could restart with the 'JNA mlockall successful' message. I am still unable to snapshot my data.

Re: Snapshot failing on JSON files in 1.1.0

2012-06-19 Thread Rob Coli
On Tue, Jun 19, 2012 at 2:55 AM, Alain RODRIGUEZ arodr...@gmail.com wrote: Unable to create hard link from /raid0/cassandra/data/cassa_teads/stats_product-hc-233-Data.db to /raid0/cassandra/data/cassa_teads/snapshots/1340099026781/stats_product-hc-233-Data.db Are you able to create this hard

Re: Snapshot failing on JSON files in 1.1.0

2012-06-19 Thread Rob Coli
On Tue, Jun 19, 2012 at 8:55 PM, Rob Coli rc...@palominodb.com wrote: On Tue, Jun 19, 2012 at 2:55 AM, Alain RODRIGUEZ arodr...@gmail.com wrote: Unable to create hard link from /raid0/cassandra/data/cassa_teads/stats_product-hc-233-Data.db to

Re: Snapshot failing on JSON files in 1.1.0

2012-06-13 Thread Alain RODRIGUEZ
Hi Aaron, We are using Ubuntu (AMI Datastax 1.0.9 as I said). Release:10.10 Codename: maverick ERROR [RMI TCP Connection(37732)-10.248.10.94] 2012-06-13 15:00:17,157 CLibrary.java (line 153) Unable to create hard link com.sun.jna.LastErrorException: errno was 1 at

Re: Snapshot failing on JSON files in 1.1.0

2012-06-13 Thread Alain RODRIGUEZ
if I do : locate jna /opt/java/64/jdk1.6.0_31/db/docs/html/ref/rrefsqljnaturaljoin.html /root/.m2/repository/net/java/dev/jna /root/.m2/repository/net/java/dev/jna/jna /root/.m2/repository/net/java/dev/jna/jna/3.2.7 /root/.m2/repository/net/java/dev/jna/jna/3.2.7/jna-3.2.7-sources.jar

Re: Snapshot failing on JSON files in 1.1.0

2012-06-13 Thread Joaquin Casares
Hello Alain, Yes, the AMI is geared to working out of the box for most dev purposes. We recently spotted an issue with JNA 3.2.7 on Ubuntu 10.10 not being picked up. You can try running `apt-get install libjna-java` but in order for the change to be activated, you must restart your Cassandra

Re: Snapshot failing on JSON files in 1.1.0

2012-05-30 Thread aaron morton
CASSANDRA-4230 is a bug in 1.1 I am not aware of issues using snapshot on 1.0.9. But errno 0 is a bit odd. On the server side there should be a log message at ERROR level that contains the string Unable to create hard link and the error message. What does that say ? Can you also include the

Re: Snapshot failing on JSON files in 1.1.0

2012-05-28 Thread Alain RODRIGUEZ
I have the same error with the last Datastax AMI (1.0.9). Is that the same bug ? Requested snapshot for: cassa_teads Exception in thread main java.io.IOError: java.io.IOException: Unable to create hard link from /raid0/cassandra/data/cassa_teads/stats_product-hc-233-Index.db to

Re: Snapshot failing on JSON files in 1.1.0

2012-05-19 Thread Jonathan Ellis
When these bugs are fixed: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+CASSANDRA+AND+fixVersion+%3D+%221.1.1%22+AND+resolution+%3D+Unresolved+ORDER+BY+due+ASC%2C+priority+DESC%2C+created+ASCmode=hide On Wed, May 16, 2012 at 6:35 PM, Bryan Fernandez

Re: Snapshot failing on JSON files in 1.1.0

2012-05-16 Thread Bryan Fernandez
Does anyone know when 1.1.1 will be released? Thanks. On Tue, May 15, 2012 at 5:40 PM, Brandon Williams dri...@gmail.com wrote: Probably https://issues.apache.org/jira/browse/CASSANDRA-4230 On Tue, May 15, 2012 at 4:08 PM, Bryan Fernandez bfernande...@gmail.com wrote: Greetings, We

Snapshot failing on JSON files in 1.1.0

2012-05-15 Thread Bryan Fernandez
Greetings, We recently upgraded from 1.0.8 to 1.1.0. Everything has been running fine with the exception of snapshots. When attempting to snapshot any of the nodes in our six node cluster we are seeing the following error. [root@cassandra-n6 blotter]# /opt/apache-cassandra-1.1.0/bin/nodetool -h

Re: Snapshot failing on JSON files in 1.1.0

2012-05-15 Thread Brandon Williams
Probably https://issues.apache.org/jira/browse/CASSANDRA-4230 On Tue, May 15, 2012 at 4:08 PM, Bryan Fernandez bfernande...@gmail.com wrote: Greetings, We recently upgraded from 1.0.8 to 1.1.0. Everything has been running fine with the exception of snapshots. When attempting to snapshot any