Re: Astyanax error

2012-09-17 Thread A J
I traced this to the misnomer of Integer datatype in Cassandra. IntegerType in Cassandra is infact a variable length BigInt. Changing it to Int32Type solved the issue. https://github.com/Netflix/astyanax/issues/59 On Mon, Sep 17, 2012 at 10:51 AM, A J wrote: > Hello, > > I am

Astyanax error

2012-09-17 Thread A J
Hello, I am tyring to retrieve a list of Column Names (that are defined as Integer) from a CF with RowKey as Integer as well. (I don't care for the column values that are just nulls) Following is snippet of my Astyanax code. I am getting 0 columns but I know the key that I am querying contains a

Astyanax - build

2012-09-14 Thread A J
Hi, I am new to java and trying to get the Astyanax client running for Cassandra. Downloaded astyanax from https://github.com/Netflix/astyanax. How do I compile the source code from here it in a very simple fashion from linux command line ? Thanks.

Advantage of pre-defining column metadata

2012-08-28 Thread A J
For static column family what is the advantage in pre-defining column metadata ? I can see ease of understanding type of values that the CF contains and that clients will reject incompatible insertion. But are there any major advantages in terms of performance or something else that makes it bene

Re: nodetool , localhost connection refused

2012-08-20 Thread A J
istening on that port? > > So database node did not start and bind to that port and you would see > exception in the logs of that database nodeŠ.just a guess. > > Dean > > On 8/20/12 4:10 PM, "A J" wrote: > >>I am running 1.1.3 >>Nodetool on the database no

nodetool , localhost connection refused

2012-08-20 Thread A J
I am running 1.1.3 Nodetool on the database node (just a single node db) is giving the error: Failed to connect to 'localhost:7199': Connection refused Any idea what could be causing this ? Thanks.

'WHERE' with several indexed columns

2012-08-16 Thread A J
Hi If I have a WHERE clause in CQL with several 'AND' and each column is indexed, which index(es) is(are) used ? Just the first field in the where clause or all the indexes involved in the clause ? Also is index used only with an equality operator or also with greater than /less than comparator as

Custom Partitioner Type

2012-08-13 Thread A J
Is it possible to use a custom Partitioner type (other than RP or BOP) ? Say if my rowkeys are all Integers and I want all even keys to go to node1 and odd keys to node2, is it feasible ? How would I go about ? Thanks.

Physical storage of rowkey

2012-08-09 Thread A J
Are row key hashed before being physically stored in Cassandra ? If so, what hash function is used to ensure collision is minimal. Thanks.

Re: solr query for string match in CQL

2012-04-12 Thread A J
Never mind. Double quotes within the single quotes worked: select * from solr where solr_query='body:"sixty eight million nine hundred forty three thousand four hundred twenty four"'; On Thu, Apr 12, 2012 at 11:42 AM, A J wrote: > What is the syntax for a string matc

Re: Order rows numerically

2012-03-21 Thread A J
Yes, that is good enough for now. Thanks. On Fri, Mar 16, 2012 at 6:49 PM, Watanabe Maki wrote: > How about to fill zeros before smaller digits? > Ex. 0001, 0002, etc > > maki > > > On 2012/03/17, at 6:29, A J wrote: > >> If I define my rowkeys to be In

Re: Max # of CFs

2012-03-21 Thread A J
map tool and examine heap histogram > first, heap dump second. > > Best regards, Vitalii Tymchyshyn > > 20.03.12 18:12, A J написав(ла): > >> I have both row cache and column cache disabled for all my CFs. >> >> cfstats says "Bloom Filter Space Used: 1760" per

Re: Max # of CFs

2012-03-20 Thread A J
t AFAIR is 10 keys per column family. > > 20.03.12 16:05, A J написав(ла): > >> ok, the last thread says that 1.0+ onwards, thousands of CFs should >> not be a problem. >> >> But I am finding that all the allocated heap memory is getting consumed. >> I sta

Re: Max # of CFs

2012-03-20 Thread A J
esults > > If you still got questions after reading this thread or some others about > the same topic, do not hesitate asking again, > > Alain > > > 2012/3/19 A J >> >> How many Column Families are one too many for Cassandra ? >> I created a db with 50

Max # of CFs

2012-03-19 Thread A J
How many Column Families are one too many for Cassandra ? I created a db with 5000 CFs (I can go into the reasons later) but the latency seems to be very erratic now. Not sure if it is because of the number of CFs. Thanks.

Order rows numerically

2012-03-16 Thread A J
If I define my rowkeys to be Integer (key_validation_class=IntegerType) , how can I order the rows numerically ? ByteOrderedPartitioner orders lexically and retrieval using get_range does not seem to make sense in order. If I were to change rowkey to be UTF8 (key_validation_class=UTF8Type), BOP st

Re: Does the 'batch' order matter ?

2012-03-15 Thread A J
re why I had forgotten that. > > The pycassa docs are slightly wrong there, though.  It's technically atomic > for the same key across multiple column families.  I'll get that fixed. > > On Wed, Mar 14, 2012 at 5:22 PM, A J wrote: >> >> > No, batch_mutate

Re: Does the 'batch' order matter ?

2012-03-14 Thread A J
d, Mar 14, 2012 at 4:15 PM, Tyler Hobbs wrote: > On Wed, Mar 14, 2012 at 11:50 AM, A J wrote: >> >> >> Are you saying the way 'batch mutate' is coded, the order of writes in >> the batch does not mean anything ? You can ask the batch to do A,B,C >> and th

Re: Does the 'batch' order matter ?

2012-03-14 Thread A J
? Thanks. On Wed, Mar 14, 2012 at 3:37 AM, aaron morton wrote: > It may, but it would not be guaranteed. > > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 14/03/2012, at 8:11 AM, A J wrote:

Does the 'batch' order matter ?

2012-03-13 Thread A J
I know batch operations are not atomic but does the success of a write imply all writes preceeding it in the batch were successful ? For example, using cql: BEGIN BATCH USING CONSISTENCY QUORUM AND TTL 864 INSERT INTO users (KEY, password, name) VALUES ('user2', 'ch@ngem3b', 'second user')

Why is row lookup much faster than column lookup

2012-03-13 Thread A J
>From my tests, I am seeing that a CF that has less than 100 columns but millions of rows has a much lower latency to read a column in a row than a CF that has only a few thousands of rows but wide rows with each having 20K columns. Example: cf1 has 6 Million rows and each row has about 100 column

Single column read latency

2012-03-08 Thread A J
Hello, In a CF I have with valueless columns and column-name type being integer, I am seeing latency in the order of 80-90ms to retrieve a single column from a row containing 50K columns. It is just a single node db on a single box. Another row with 20K columns in the same CF, still has the latency

Test Data creation in Cassandra

2012-03-02 Thread A J
What is the best way to create millions of test data in Cassandra ? I would like to have some script where I first insert say 100 rows in a CF. Then reinsert the same data on 'server side' with new unique key. That will make it 200 rows. Then continue the exercise a few times till I get lot of rec

Logging 'write' operations

2012-02-21 Thread A J
Hello, What is the best way to log write operations (insert,remove, counter add, batch operations) in Cassandra. I need to store the operations (with values being passed) in some fashion or the other for audit purposes (and possibly to undo some operation after inspection). Thanks.

batch mode and flushing

2012-02-02 Thread A J
Hello, when you set 'commitlog_sync: batch' on all the nodes in a multi-DC cluster and call writes with CL=ALL, does the operation wait till the write is flushed to all the disks on all the nodes ? Thanks.

Re: Command to display config values

2012-01-24 Thread A J
t; > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 25/01/2012, at 10:10 AM, A J wrote: > > Is there a command in cqlsh or cassandra CLI that can display the > various values of the configuration parameters at

Command to display config values

2012-01-24 Thread A J
Is there a command in cqlsh or cassandra CLI that can display the various values of the configuration parameters at use. I am particularly interested in finding the value of ' commitlog_sync' that the current session is using ? Thanks. AJ

Encryption related question

2012-01-20 Thread A J
Hello, I am trying to use internode encryption in Cassandra (1.0.6) for the first time. 1. Followed the steps 1 to 5 at http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore Q. In cassandra.yaml , what value goes for keystore ? I exported the cert

Restart for change of endpoint_snitch ?

2011-12-27 Thread A J
If I change endpoint_snitch from SimpleSnitch to PropertyFileSnitch, does it require restart of cassandra on that node ? Thanks.

Re: setStrategy_options syntax in thrift

2011-12-20 Thread A J
Thanks, that worked. On Tue, Dec 20, 2011 at 4:08 PM, Dave Brosius wrote: > > KsDef ksDef = new KsDef(); > Map options = new HashMap(); > options.put("replication_factor", "2"); > ksDef.setStrategy_options(options); > > > > *- Original Message

Re: java thrift error

2011-12-20 Thread A J
like > > public static ByteBuffer toByteBuffer(String value) throws > UnsupportedEncodingException{return > ByteBuffer.wrap(value.getBytes("UTF-8"));} > > > > see http://wiki.apache.org/cassandra/ThriftExamples > > > *- Original

Re: setStrategy_options syntax in thrift

2011-12-20 Thread A J
> and the value is the option value. > > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 20/12/2011, at 12:02 PM, A J wrote: > > What is the syntax of setStrategy_options in thrift. > &

java thrift error

2011-12-20 Thread A J
The following syntax : import org.apache.cassandra.thrift.*; . . ColumnOrSuperColumn col = client.get("count_key".getBytes("UTF-8"), cp, ConsistencyLevel.QUORUM); is giving the error: get(java.nio.ByteBuffer,org.apache.cassandra.thrift.ColumnPath,org.apache.cassandra.thrift.ConsistencyLev

setStrategy_options syntax in thrift

2011-12-19 Thread A J
What is the syntax of setStrategy_options in thrift. The following fails: Util.java:22: setStrategy_options(java.util.Map) in org.apache.cassandra.thrift.KsDef cannot be applied to (java.lang.String) newKs.setStrategy_options("{replication_factor:2}");

each_quorum in pycassa

2011-12-12 Thread A J
What is the syntax for each_quorum in pycassa ? Thanks.

Increase replication factor

2011-12-05 Thread A J
If I update a keyspace to increase the replication factor; what happens to existing data for that keyspace ? Does the existing data get automatically increase its replication ? Or only on a RR or node repair does the existing data increase its replication factor ? Thanks.

garbage collecting tombstones

2011-12-01 Thread A J
Hello, Is 'garbage collecting tombstones ' a different operation than the JVM GC. Garbage collecting tombstones is controlled by gc_grace_seconds which by default is set to 10 days. But the traditional GC seems to happen much more frequently (when observed through jconsole) ? How can I force the g

Re: Continuous export of data out of database

2011-11-15 Thread A J
The issue with that is that I wish to have EACH_QUORUM in our other 2 datacenters but not in the third DC. Could not figure a way to accomplish that so exploring have a near-realtime backup copy in the third DC via some streaming process. On Tue, Nov 15, 2011 at 12:12 PM, Robert Jackson wrote: >

Continuous export of data out of database

2011-11-15 Thread A J
Hello VoltDB has an export feature to stream the data out of the database. http://voltdb.com/company/blog/voltdb-export-connecting-voltdb-other-systems This is different from Cassandra's export feature (http://wiki.apache.org/cassandra/Operations#Import_.2BAC8_export) which is more of a different

Re: (A or B) AND C AND !D

2011-11-15 Thread A J
To clarify, I wish to keep N=4 and W=2 in the following scenario. Thanks. On Sun, Nov 13, 2011 at 11:20 PM, A J wrote: > Hello > Say I have 4 nodes: A, B, C and D and wish to have consistency level > for writes defined in such as way that writes meet the following > consistency leve

(A or B) AND C AND !D

2011-11-13 Thread A J
Hello Say I have 4 nodes: A, B, C and D and wish to have consistency level for writes defined in such as way that writes meet the following consistency level: (A or B) AND C AND !D, i.e. either of A or B will suffice and C to be included into consistency level as well. But the write should not wait

OOM

2011-11-02 Thread A J
Hi, For a single node of cassandra(1.0 version) having 15G of data+index, 48GB RAM, 8GB heap and about 2.6G memtable threshold, I am getting OOM when I have 1000 concurrent inserts happening at the same time. I have kept concurrent_writes: 128 in cassandra.yaml as there are a total of 16 cores (su

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-07-12 Thread A J
Just confirming. Thanks for the clarification. On Tue, Jul 12, 2011 at 10:53 AM, Peter Schuller wrote: >> From "Cassandra the definitive guide" - Basic Maintenance - Repair >> "Running nodetool repair causes Cassandra to execute a major compaction. >> During a major compaction (see “Compactio

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-07-12 Thread A J
Merkle trees with neighboring nodes." So is this text from the book misleading ? On Fri, Jul 8, 2011 at 10:36 AM, Jonathan Ellis wrote: > that's an internal term meaning "background i/o," not sstable merging per se. > > On Fri, Jul 8, 2011 at 9:24 AM, A J wrote: >

Node repair questions

2011-07-11 Thread A J
Hello, Have the following questions related to nodetool repair: 1. I know that Nodetool Repair Interval has to be less than GCGraceSeconds. How do I come up with an exact value of GCGraceSeconds and 'Nodetool Repair Interval'. What factors would want me to change the default of 10 days of GCGraceSe

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-07-11 Thread A J
Never mind. I see the issue with this. I will be able to catch the writes as failed only if I set CL=ALL. For other CLs, I may not know that it failed on some node. On Mon, Jul 11, 2011 at 2:33 PM, A J wrote: > Instead of doing nodetool repair, is it not a cheaper operation to > keep

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-07-11 Thread A J
Instead of doing nodetool repair, is it not a cheaper operation to keep tab of failed writes (be it deletes or inserts or updates) and read these failed writes at a set frequency in some batch job ? By reading them, RR would get triggered and they would get to a consistent state. Because these wou

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-07-08 Thread A J
compact. Those are different processes already. > > maki > > > On 2011/07/01, at 7:21, A J wrote: > >> Thanks all ! >> In other words, I think it is safe to say that a node as a whole can >> be made consistent only on 'nodetool repair'. >> >> Ha

'select * from ' - FTS or Index

2011-07-07 Thread A J
Does a 'select * from ' with no filter still use the primary index on the key or do a 'full table scan' ? Thanks.

What does a write lock ?

2011-07-07 Thread A J
Does a write lock: 1. Just the columns in question for the specific row in question ? 2. The full row in question ? 3. The full CF ? I doubt read does any locks. Thanks.

List nodes where write was applied to

2011-07-07 Thread A J
Is there a way to find what all nodes was a write applied to ? It could be a successful write (i.e. w was met) or unsuccessful write (i.e. less than w nodes were met). In either case, I am interested in finding: Number of nodes written to (before timeout or on success) Name of nodes written to (bef

When is 'Cassandra High Performance Cookbook' expected to be available ?

2011-07-07 Thread A J
https://www.packtpub.com/cassandra-apache-high-performance-cookbook/book

Re: deduct token values for BOP

2011-07-07 Thread A J
why ? On Wed, Jul 6, 2011 at 11:18 AM, Richard Low wrote: > On Wed, Jul 6, 2011 at 3:06 PM, A J wrote: >> I wish to use the order preserving byte-ordered partitioner. How do I >> figure the initial token values based on the text key value. >> Say I wish to put all keys start

deduct token values for BOP

2011-07-06 Thread A J
I wish to use the order preserving byte-ordered partitioner. How do I figure the initial token values based on the text key value. Say I wish to put all keys starting from a to d on N1. e to m on N2 and n to z on N3. What would be the initial_token values on each of the 3 nodes to accomplish this ?

Details of 'nodetool move'

2011-07-05 Thread A J
Hello, Where can I find details of nodetool move. Most places just mention that 'move the target node to a given Token. Moving is essentially a convenience over decommission + bootstrap.' Stuff like, when do I need to do and on what nodes? What is the value of 'new token' to be provided ? What hap

Re: How to make a node an exact replica of another node ?

2011-07-05 Thread A J
Perfect ! Thanks. On Tue, Jul 5, 2011 at 1:51 PM, Eric tamme wrote: > AJ, > > You can use offset mirror tokens to achieve this.   Pick your initial > tokens for DC1N1 and DC1N2 as if they were the only nodes in your > cluster.  Now increment each by 1 and use them as the tokens for DC2N1 > and DC

How to make a node an exact replica of another node ?

2011-07-05 Thread A J
Hello, Let me explain what I am trying to do: I am prototyping 2 Data centers (DC1 and DC2) with two nodes each. Say DC1_n1 and DC1_n2 nodes in DC1 and DC2_n1 and DC2_n2 in DC2. With PropertyFileSnitch and NetworkTopologyStrategy and 'strategy_options of DC1=1 and DC2=1', I am able to ensure that e

Re: cql error

2011-07-05 Thread A J
Thanks. That worked. On Tue, Jul 5, 2011 at 11:35 AM, Jonathan Ellis wrote: > replace the s_o line with > > and strategy_options:DC1=1 and strategy_options:DC2=2 > > On Tue, Jul 5, 2011 at 10:09 AM, A J wrote: >> cqlsh> CREATE KEYSPACE twissandra with &

cql error

2011-07-05 Thread A J
cqlsh> CREATE KEYSPACE twissandra with ... strategy_class = ... 'org.apache.cassandra.locator.NetworkTopologyStrategy' ... and strategy_options=[{DC1:1, DC2:1}]; Bad Request: line 4:37 no viable alternative at character ']' What is wrong with the above syntax ? Thanks.

Re: Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-06-30 Thread A J
Thanks all ! In other words, I think it is safe to say that a node as a whole can be made consistent only on 'nodetool repair'. Has there been enough interest in providing anti-entropy without compaction as a separate operation (nodetool repair does both) ? On Thu, Jun 30, 2011 at 5:27 PM, Jonat

Meaning of 'nodetool repair has to run within GCGraceSeconds'

2011-06-30 Thread A J
I am little confused of the reason why nodetool repair has to run within GCGraceSeconds. The documentation at: http://wiki.apache.org/cassandra/Operations#Frequency_of_nodetool_repair is not very clear to me. How can a delete be 'unforgotten' if I don't run nodetool repair? (I understand that if

api to extract gossiper results

2011-06-29 Thread A J
Cassandra uses accrual failure detector to interpret the gossips. Is it somehow possible to extract these (gossip values and results of the failure detector) in an external system ? Thanks

Chunking if size > 64MB

2011-06-29 Thread A J
>From what I read, Cassandra allows a single column value to be up-to 2GB but would chunk the data if greater than 64MB. Is the chunking transparent to the application or does the app need to know if/how/when the chunking happened for a specific column value that happened to be > 64MB. Thank you.

Data storage security

2011-06-29 Thread A J
Are there any options to encrypt the column families when they are stored in the database. Say in a given keyspace some CF has sensitive info and I don't want a 'select *' of that CF to layout the data in plain text. Thanks.

Re: Clock skew

2011-06-28 Thread A J
ces > here http://ria101.wordpress.com/2011/02/08/cassandra-the-importance-of-system-clocks-avoiding-oom-and-how-to-escape-oom-meltdown/ > Hope this helps > Dominic > On 27 June 2011 23:03, A J wrote: >> >> During writes, the timestamp field in the column is the system-time of >

Clock skew

2011-06-27 Thread A J
During writes, the timestamp field in the column is the system-time of that node (correct me if that is not the case and the system-time of the co-ordinator is what gets applied to all the replicas). During reads, the latest write wins. What if there is a clock skew ? It could lead to a stale writ

Auto compaction to be staggered ?

2011-06-27 Thread A J
Is there an enhancement on the roadmap to stagger the auto compactions on different nodes, to avoid more than one node compacting at any given time (or as few nodes as possible to compact at any given time). If not, any workarounds ? Thanks.

Re: Force a node to form part of quorum

2011-06-16 Thread A J
stion about maximising cache hits > see https://github.com/apache/cassandra/blob/cassandra-0.8.0/conf/cassandra.yaml#L308 > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > On 16 Jun 2011, at 05:58, A

Force a node to form part of quorum

2011-06-15 Thread A J
Is there a way to favor a node to always participate (or never participate) towards fulfillment of read consistency as well as write consistency ? Thanks AJ

Backup full cluster

2011-05-03 Thread A J
Snapshot runs on a local node. How do I ensure I have a 'point in time' snapshot of the full cluster ? Do I have to stop the writes on the full cluster and then snapshot all the nodes individually ? Thanks.

Specifying exact nodes for Consistency Levels

2011-05-02 Thread A J
Is it possible in some way to specify what specific nodes I want to include (or exclude) from the Consistency Level fulfillment ? Example, I have a cluster of 4 nodes (n1,n2,n3 and n4) and set N=4. I want to set W=3 and want to ensure that it is n1,n2 and n3 only that are used to satisfy w=3 (i.e.

Host score calculation for dynamic_snitch

2011-04-08 Thread A J
dynamic_snitch seems to do host score calculation to figure the latency of each node. What are the details of this calculation : 1. What is the mechanism to determine latency ? 2. Does it score the calculated scores and use the historical figures to come up with the latest scores ? (You can't just

Re: Introduce Random latency

2011-04-06 Thread A J
/simulate-delayed-and-dropped-packets-on-linux > > That SO page has a pretty good description of how you can do it on the > network level without having to modify any source(assuming you are on > linux). > > Scott > > On Wed, Apr 6, 2011 at 11:20 AM, A J wrote: >> I wa

Re: LB scenario

2011-04-06 Thread A J
I have done some more research. My question now is: 1. From my tests I see that it matters a lot whether the co-ordinator node is local (geographically) to the client or not. I will have a cassandra cluster where nodes will be distributed across the globe. Say 3 in US east_cost, 3 in US west_coast

Introduce Random latency

2011-04-06 Thread A J
I want to run some tests where I incorporate random latency in some of the nodes (that varies over time). I think the best place is to place a 'sleep (random(10 to 50 seconds)) function' somewhere in the source code of cassandra. Or maybe the sleep is not random but the seconds to sleep are read fr

Re: LB scenario

2011-04-05 Thread A J
Can someone comment on this ? Or is the question too vague ? Thanks. On Wed, Mar 30, 2011 at 3:58 PM, A J wrote: > Does the following load balancing scenario look reasonable with cassandra ? > I will not be having any app servers. > > http://dl.dropbox.com/u/7258508/2011-03

pycassa refresh server_list

2011-03-31 Thread A J
In the pycassa.pool.ConnectionPool class, I can specify all the nodes in server_list parameter. But overtime, when nodes get decomissioned and new nodes with new IPs get added, how can the server_list parameter be refereshed ? Do I have to modify it manually, or is there a way to update the list au

Re: Ditching Cassandra

2011-03-30 Thread A J
I did an apple to apple comparison of WRITE speed of Mongo vs Cassandra. Benchmarking (Cluster of 4 machines. Each of 4 cores and 15gb ram. 2 IN region1 but different zones, 1 in region2 and 1 in region3. Set consistency level of 3. i.e. atleast 3 machines have to confirm of write before the write

LB scenario

2011-03-30 Thread A J
Does the following load balancing scenario look reasonable with cassandra ? I will not be having any app servers. http://dl.dropbox.com/u/7258508/2011-03-30_1542.png Thanks.

Re: International language implementations

2011-03-29 Thread A J
Example, taobao.com is a chinese online bid site. All data is chinese and they use Mongodb successfully. Are there similar installations of cassandra where data is non-latin ? I know in theory, it should all work as cassandra has full utf-8 support. But unless there are real implementations, you c

International language implementations

2011-03-29 Thread A J
Can someone list some of the current international language implementations of cassandra ? Thanks.

Re: EC2 - 2 regions

2011-03-25 Thread A J
> sent from my android...please pardon occasional typos as I respond @ the > speed of thought > / > > On Mar 23, 2011 2:54 PM, "A J" wrote: > > 7000 and 9160 are accessible. Don't think I need other ports for basic > setup , r

Re: EC2 - 2 regions

2011-03-23 Thread A J
ues too.  the SSL work that has been > done would also have to be changed ... > > -sd > > On Tue, Mar 22, 2011 at 6:58 PM, A J wrote: >> Milind, >> Among the limitation you... > > -- > Sasha Dolgy > sasha.do...@gmail.com >

Re: nodetool repair takes forever

2011-03-22 Thread A J
t 12:40 PM, Robert Coli wrote: > On Tue, Mar 22, 2011 at 8:53 AM, A J wrote: >> 0.7.4 >> >> On Tue, Mar 22, 2011 at 11:49 AM, Robert Coli wrote: >>> On Mon, Mar 21, 2011 at 8:33 PM, A J wrote: >>>> I am trying to estimate the time it will take to rebuild

Re: EC2 - 2 regions

2011-03-22 Thread A J
patches later today if I can and I'd like to help out >>>>> with getting it working out of the box. >>>>> >>>>> Thanks for the investigative work and documentation Milind! >>>>> >>>>> Jeremy >>>>> >>>&g

Re: nodetool repair takes forever

2011-03-22 Thread A J
0.7.4 On Tue, Mar 22, 2011 at 11:49 AM, Robert Coli wrote: > On Mon, Mar 21, 2011 at 8:33 PM, A J wrote: >> I am trying to estimate the time it will take to rebuild a node. After >> loading reasonable data, >> ... >> For some reason, the repair command runs forever

nodetool repair takes forever

2011-03-21 Thread A J
I am trying to estimate the time it will take to rebuild a node. After loading reasonable data, I brought down a node and manually removed all its datafiles for a given keyspace (Keyspace1) I then restarted the node and got i back in the ring. At this point, I wish to run nodetool repair (bin/nodet

Re: stress.py bug?

2011-03-21 Thread A J
Not completely related. just fyi. I like it better to see the start time, end time, duration of each execution in each thread. And then do the aggregation (avg,max,min) myself. I modified last few lines of the Inserter function as follows: endtime = time.time() self.latencies[self.idx

Re: EC2 - 2 regions

2011-03-21 Thread A J
dra.apache.org/msg01832.html >> Aaron >> On 19 Mar 2011, at 06:46, A J wrote: >> >> Just to add, all the telnet (port 7000) and cassandra-cli (port 9160) >> connections are done using the public DNS (that goes like >> ec2-.compute.amazonaws.com) >>

Re: EC2 - 2 regions

2011-03-18 Thread A J
Just to add, all the telnet (port 7000) and cassandra-cli (port 9160) connections are done using the public DNS (that goes like ec2-.compute.amazonaws.com) On Fri, Mar 18, 2011 at 1:37 PM, A J wrote: > I am able to telnet from one region to another on 7000 port without > issues. (I g

Re: EC2 - 2 regions

2011-03-18 Thread A J
pen those ports for communication (via your > Security Group) > Dave Viner > > On Fri, Mar 18, 2011 at 10:20 AM, A J wrote: >> >> Thats exactly what I am doing. >> >> I was able to do the first two scenarios without any issues (i.e. 2 >> nodes in same availa

Re: EC2 - 2 regions

2011-03-18 Thread A J
> region-to-region communication, rather than intra-zone connectivity or > cassandra cluster configuration. > Dave Viner > > On Fri, Mar 18, 2011 at 8:34 AM, A J wrote: >> >> Hello, >> >> I am trying to setup a cassandra cluster across regions. >> For tes

EC2 - 2 regions

2011-03-18 Thread A J
Hello, I am trying to setup a cassandra cluster across regions. For testing I am keeping it simple and just having one node in US-EAST (say ec2-1-2-3-4.compute-1.amazonaws.com) and one node in US-WEST (say ec2-2-2-3-4.us-west-1.compute.amazonaws.com). Using Cassandra 0.7.4 The one in east region

Re: [RELEASE] 0.7.4

2011-03-17 Thread A J
I don't see binary_memtable_throughput_in_mb parameter in cassandra.yaml anymore. What is it replaced by ? thanks. On Tue, Mar 15, 2011 at 11:32 PM, Eric Evans wrote: > On Tue, 2011-03-15 at 22:19 -0500, Eric Evans wrote: >> On Tue, 2011-03-15 at 14:26 -0700, Mark wrote: >> > Still not seeing 0.

Re: Several 'TimedOutException' in stress.py

2011-03-08 Thread A J
43 Processing response on a callback from 786@/10.253.203.224 DEBUG 22:29:12,443 Processing response on a callback from 791@/10.253.203.224 On Tue, Mar 8, 2011 at 3:22 PM, aaron morton wrote: > Is this a client side time out or a server side one? What does the error > stack look

Several 'TimedOutException' in stress.py

2011-03-08 Thread A J
Trying out stress.py on AWS EC2 environment (4 Large instances. Each of 2-cores and 7.5GB RAM. All in the same region/zone.) python stress.py -o insert -d 10.253.203.224,10.220.203.48,10.220.17.84,10.124.89.81 -l 2 -e ALL -t 10 -n 500 -S 100 -k (I want to try with column size of about 1MB. I

Re: Network Topology Strategy error

2011-03-03 Thread A J
ed to specify per-DC replicas w/ NTS in strategy_options, > instead of using replication_factor > > On Thu, Mar 3, 2011 at 1:52 PM, A J wrote: >> using latest cassandra (0.7.2). I want to try out Network Topology Strategy. >> >> Following is related sett

Re: Storing photos, images, docs etc.

2011-03-03 Thread A J
why would you keep metadata in cassandra ? Even for millions of documents, metadata would be very small, mysql/postgres should suffice. Luster ofcourse is well known and widely used along with glusterfs. Luster I think requires kernel modifications and will be much more complex. Also it is easier

Network Topology Strategy error

2011-03-03 Thread A J
using latest cassandra (0.7.2). I want to try out Network Topology Strategy. Following is related setting in cassandra.yaml endpoint_snitch: org.apache.cassandra.locator.PropertyFileSnitch I have four nodes. Set them accordingly in ./conf/cassandra-topology.properties: 10.252.219.224=DC2:RAC1 10.

Re: cassandra-rack.properties or cassandra-topology.properties

2011-03-03 Thread A J
, 2011 at 1:28 PM, Jonathan Ellis wrote: > Did you try "ls conf/" ? > > On Thu, Mar 3, 2011 at 11:27 AM, A J wrote: >> In PropertyFileSnitch is cassandra-rack.properties or >> cassandra-topology.properties file used ? >> >> Little confused by the stmt: >&

  1   2   >