Re: leveled compaction - improve log message

2012-04-09 Thread aaron morton
If you would like to see a change create a request for an improvement here https://issues.apache.org/jira/browse/CASSANDRA Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 6/04/2012, at 12:51 PM, Radim Kolar wrote: > it would be really hel

Re: a very simple indexing question (strange thing seen in CLI)

2012-04-09 Thread aaron morton
> First off, why do I see (01)? I have a similar CF where I just see "1". The CF uses BytesType as the comparator, which displays values as Hex. 01 is the hex representation of 1. > Before inserting the data, I did "assume" to ascii > on the keys, comparator and validator. This is a feature of ca

Re: Resident size growth

2012-04-09 Thread aaron morton
see http://wiki.apache.org/cassandra/FAQ#mmap Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 9/04/2012, at 5:09 AM, ruslan usifov wrote: > mmap sstables? It's normal > > 2012/4/5 Omid Aladini > Hi, > > I'm experiencing a steady growth i

Re: Listen and RPC address

2012-04-09 Thread aaron morton
Background: "Configuration" section http://www.datastax.com/dev/blog/bulk-loading I *think* you can get by with changing the rpc_port and storage_port for the bulkl loader config. If that does not work create another loop back interface and bind the bulk loader to it… sudo ifconfig lo0 alias 1

RE: Listen and RPC address

2012-04-09 Thread Rishabh Agrawal
Thanks, it just worked. Though I am able to load sstables but I get following error: ERROR 15:44:23,557 Error in ThreadPoolExecutor java.lang.IllegalArgumentException: Unknown CF 1000 what could be the reason. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Monday, April 09, 2012 3:30

Re: Resident size growth

2012-04-09 Thread Jeremiah Jordan
He says he disabled JNA. You can't mmap without JNA can you? On Apr 9, 2012, at 4:52 AM, aaron morton wrote: see http://wiki.apache.org/cassandra/FAQ#mmap Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 9/04

Re: Resident size growth

2012-04-09 Thread Omid Aladini
Thanks. Yes it's due to mmappd SSTables pages that count as resident size. Jeremiah: mmap isn't through JNA, it's via java.nio.MappedByteBuffer I think. -- Omid On Mon, Apr 9, 2012 at 4:15 PM, Jeremiah Jordan wrote: > He says he disabled JNA.  You can't mmap without JNA can you? > > On Apr 9, 2

Re: issue with composite row key on CassandraStorage pig?

2012-04-09 Thread Janne Jalkanen
I don't think the Pig code supports Composite *keys* yet. The 1.0.9 code supports Composite Column Names tho'... /Janne On Apr 8, 2012, at 06:02 , Janwar Dinata wrote: > Hi, > > I have a column family that uses DynamicCompositeType for its > keys_validation_class. > When I try to dump the ro

Re: issue with composite row key on CassandraStorage pig?

2012-04-09 Thread Janwar Dinata
Hi Janne, Do you happen to know if support for composite row key is in the pipeline? It seems that you did a patch for composite columns support on CassandraStorage.java. Do you have any pointers for implementing composite row key feature? Thanks. On Mon, Apr 9, 2012 at 11:32 AM, Janne Jalkanen

Re: Request timeout and host marked down

2012-04-09 Thread Daning Wang
Thanks Aaron! Here is the exception, is that the timeout between nodes? any parameter I can change to reduce timeout? me.prettyprint.hector.api.exceptions.HectorTransportException: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out at me.pretty

Re: Bulk loading errors with 1.0.8

2012-04-09 Thread Jonathan Ellis
On Thu, Apr 5, 2012 at 10:58 AM, Benoit Perroud wrote: > ERROR [Thread-23] 2012-04-05 09:58:12,252 AbstractCassandraDaemon.java > (line 139) Fatal exception in thread Thread[Thread-23,5,main] > java.lang.RuntimeException: Insufficient disk space to flush > 7813594056494754913 bytes >        at >

Re: leveled compaction - improve log message

2012-04-09 Thread Jonathan Ellis
CompactionExecutor doesn't have level information available to it; it just compacts the sstables it's told to. But if you enable debug logging on LeveledManifest you'd see what you want. ("Compaction candidates for L{} are {}") 2012/4/5 Radim Kolar : > it would be really helpfull if leveled comp

Re: leveled compaction - improve log message

2012-04-09 Thread Maki Watanabe
for details, open conf/log4j-server.properties and add following configuration: log4j.logger.org.apache.cassandra.db.compaction.LeveledManifest=DEBUG fyi. maki 2012/4/10 Jonathan Ellis : > CompactionExecutor doesn't have level information available to it; it > just compacts the sstables it's t

cassandra and .net

2012-04-09 Thread puneet loya
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Thrift.Collections; using Thrift.Protocol; using Thrift.Transport; using Apache.Cassandra; namespace ConsoleApplication1 { class Program { static void Main(string[] args) {

Re: cassandra and .net

2012-04-09 Thread Pierre Chalamet
hello, 9160 is probably the port to use if you use the default config. - Pierre On Apr 10, 2012, at 7:26 AM, puneet loya wrote: > using System; > using System.Collections.Generic; > using System.Linq; > using System.Text; > using Thrift.Collections; > using Thrift.Protocol; > using Thrift.Tran

Re: cassandra and .net

2012-04-09 Thread puneet loya
hi, sorry i posted the port as 7000. I m using 9160 but still has the same error. "Cannot read, Remote side has closed". Can u guess whats happening?? On Tue, Apr 10, 2012 at 11:00 AM, Pierre Chalamet wrote: > hello, > > 9160 is probably the port to use if you use the default config. > > - Pier

Re: cassandra and .net

2012-04-09 Thread Maki Watanabe
Check your cassandra log. If you can't find any interesting log, set cassandra log level to DEBUG and run your program again. maki 2012/4/10 puneet loya : > hi, > > sorry i posted the port as 7000. I m using 9160 but still has the same > error. > > "Cannot read, Remote side has closed". > Can u g

Re: cassandra and .net

2012-04-09 Thread puneet loya
is using cassandra from datastax community center software an issue for not be able to connect with .net? On Tue, Apr 10, 2012 at 11:24 AM, Maki Watanabe wrote: > Check your cassandra log. > If you can't find any interesting log, set cassandra log level > to DEBUG and run your program again. > >

Re: cassandra and .net

2012-04-09 Thread Pierre Chalamet
Another tentative : try using TFramedTransport with an instance of TSocket directly. - Pierre -Original Message- From: puneet loya Date: Tue, 10 Apr 2012 11:06:22 To: Reply-To: user@cassandra.apache.org Subject: Re: cassandra and .net hi, sorry i posted the port as 7000. I m using