Re: Re: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2?
use the jconsole to open cassandra MBean and then find : org.apahce.cassandra.service---StorageService---operationsloadSchemaFromYAML 2010-11-01 Bingbing Liu 发件人: zangds 发送时间: 2010-10-31 05:07:23 收件人: user 抄送: 主题: Re: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2? Thank you. how to import yaml declaration once throw JMX“? 2010-10-30 zangds 发件人: ruslan usifov 发送时间: 2010-10-30 22:32:31 收件人: user 抄送: 主题: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2? I'm sorry but i mistaken, the example mut lokks like this: create keyspace test_1 with replication_factor=1; use test_1; create column family value with column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and key_cache_size=400; http://wiki.apache.org/cassandra/LiveSchemaUpdates 2010/10/31 ruslan usifov ruslan.usi...@gmail.com It should be creatted dinamicly, But you can import yaml declaration once throw JMX To create dynamicly you can use cassandra-cli Here some example of use it create keyspace test_1; use test_1; create column family value with replication_factor=1 and column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and key_cache_size=400; 2010/10/30 zangds zan...@ihep.ac.cn Should it be defined in cassandra.yaml? Or, create it on dynamic? 2010-10-30 zangds
Cassandra users meetup in Israel
http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran
unsubscribe
unsubscribe
[RELEASE] 0.7.0 beta3
We're *almost* ready to call 0.7 done, it just needs a wee bit more testing. If that sounds like your bag, then please read on. Once again, I am obligated to remind you that this is beta software. We're not talking one of those coy Google betas either, this is beta because we're not 100% sure all the bits are pulling in the same direction, and want some extra testing to be sure. Do install and thoroughly test in whatever way you can. Don't load it up on your production servers and get yourself fired. Users don't grow on trees (yet) and we need you. All of the usual applies, be sure to read through the changes[1] and release notes[2] as lots of things have changed. If you spot a problem, submit a ticket[3], and if you have any questions don't hesitate to ask them (here). Thanks! [1]: http://goo.gl/o0lQ (CHANGES.txt) [2]: http://goo.gl/lTOJ (NEWS.txt) [3]: https://issues.apache.org/jira/browse/CASSANDRA -- Eric Evans eev...@rackspace.com
Re: [RELEASE] 0.7.0 beta3
In particular, you can see tickets filed as to-be-fixed for 0.7.0 [1] and already-fixed-post-beta-3 [2]. [1] https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=12310865fixfor=12315486 [2] https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=12314699 On Mon, Nov 1, 2010 at 9:30 AM, Eric Evans eev...@rackspace.com wrote: We're *almost* ready to call 0.7 done, it just needs a wee bit more testing. If that sounds like your bag, then please read on. Once again, I am obligated to remind you that this is beta software. We're not talking one of those coy Google betas either, this is beta because we're not 100% sure all the bits are pulling in the same direction, and want some extra testing to be sure. Do install and thoroughly test in whatever way you can. Don't load it up on your production servers and get yourself fired. Users don't grow on trees (yet) and we need you. All of the usual applies, be sure to read through the changes[1] and release notes[2] as lots of things have changed. If you spot a problem, submit a ticket[3], and if you have any questions don't hesitate to ask them (here). Thanks! [1]: http://goo.gl/o0lQ (CHANGES.txt) [2]: http://goo.gl/lTOJ (NEWS.txt) [3]: https://issues.apache.org/jira/browse/CASSANDRA -- Eric Evans eev...@rackspace.com -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
Re: Cassandra users meetup in Israel
Would folks in the bay area be interested in a Apache Cassandra monthly user group meetup of some form? Would anyone be willing to sponsor space for such a meetup? I would be happy to organize one if there is enough interest in the group. Thanks, Shashank On Mon, Nov 1, 2010 at 3:17 AM, Ran Tavory ran...@gmail.com wrote: http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran
Re: Cassandra users meetup in Israel
Hi Shashank, Is this event planned to be in India? curious to know On 11/1/10, Shashank Tiwari tsha...@gmail.com wrote: Would folks in the bay area be interested in a Apache Cassandra monthly user group meetup of some form? Would anyone be willing to sponsor space for such a meetup? I would be happy to organize one if there is enough interest in the group. Thanks, Shashank On Mon, Nov 1, 2010 at 3:17 AM, Ran Tavory ran...@gmail.com wrote: http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran -- With regards, Harish Balakrishnan Marar Mob:- +91 999 5 88 69 21 Stop Child Executions http://www.PetitionOnline.com/sce/ Know more about Child Executions visit : www.StopChildExecutions.com
Re: Cassandra users meetup in Israel
No, the one Ran wrote about is in Israel and the one I was proposing is in the bay area (northern california). Thanks, Shashank On Mon, Nov 1, 2010 at 9:30 AM, Hareesh Balakrishnan Marar saffrong...@gmail.com wrote: Hi Shashank, Is this event planned to be in India? curious to know On 11/1/10, Shashank Tiwari tsha...@gmail.com wrote: Would folks in the bay area be interested in a Apache Cassandra monthly user group meetup of some form? Would anyone be willing to sponsor space for such a meetup? I would be happy to organize one if there is enough interest in the group. Thanks, Shashank On Mon, Nov 1, 2010 at 3:17 AM, Ran Tavory ran...@gmail.com wrote: http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran -- With regards, Harish Balakrishnan Marar Mob:- +91 999 5 88 69 21 Stop Child Executions http://www.PetitionOnline.com/sce/ Know more about Child Executions visit : www.StopChildExecutions.com
Re: Cassandra users meetup in Israel
Great and thanks for the offer! Just curious, are you folks at Apple using Apache Cassandra? Lets plan on an apache cassandra event before we wrap up for the year. maybe one right after Thanksgiving (how about Wednesday December 1st?). That could also serve the dual purpose of being a Holiday mixer. What say? Thanks, Shashank On Mon, Nov 1, 2010 at 9:48 AM, Shahid Ahmed shahid.ah...@me.com wrote: I will be happy to sponsor it at the Apple campus, Cupertino, California. Cheers, Shahid On Nov 1, 2010, at 9:21 AM, Shashank Tiwari wrote: Would folks in the bay area be interested in a Apache Cassandra monthly user group meetup of some form? Would anyone be willing to sponsor space for such a meetup? I would be happy to organize one if there is enough interest in the group. Thanks, Shashank On Mon, Nov 1, 2010 at 3:17 AM, Ran Tavory ran...@gmail.com wrote: http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran
Question on Hinted Handoff
I am running cassandra 0.6.6 4 nodes with RF=3 Have set the InitialTokens manually Loaded around 4 million records Had a question why the following is happening Node 4 was down when a new key 1005 was added (value 123). Node 2 which is responsible for the key added a Hint for Node 4 Node 4 was brought back up and noticed the Hints Handed off and data started showing up in Node 4 Noticed a ReadRepair also happenning All fine so far did a get and the value is 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Now Node 2 (responsible for key 1005) was taken down Key 1005 value was updated to A123 (ApplyRowMutation on Node 3 and Node 4). Node 4 added a hint for Node 2 did a get and the value is A123 Node 3 returned the data, with background digest checks on Node 4 (RF=3 and Node 2 is down) Now Node 2 is back up Hints were handed off by Node 4 did a get and the value is the old value 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Was expecting the latest write wins - A123 written on Node 4 to be in Node 2. Any ideas ? Now if Node 2 is down the old value A123 will be returned Tried a repair when Node 2 was up and all Nodes got updated to the old data
Re: Question on Hinted Handoff
To keep the question simple, If an insert or remove Key happens when the responsible Node is down (RF=3) what is the expected behavior when the Node comes back up ? For example Key 1005 was removed when Node 2 was down. When Node 2 came back up it started showing back ? On Mon, Nov 1, 2010 at 2:22 PM, Joe Alex joe.m.a...@gmail.com wrote: I am running cassandra 0.6.6 4 nodes with RF=3 Have set the InitialTokens manually Loaded around 4 million records Had a question why the following is happening Node 4 was down when a new key 1005 was added (value 123). Node 2 which is responsible for the key added a Hint for Node 4 Node 4 was brought back up and noticed the Hints Handed off and data started showing up in Node 4 Noticed a ReadRepair also happenning All fine so far did a get and the value is 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Now Node 2 (responsible for key 1005) was taken down Key 1005 value was updated to A123 (ApplyRowMutation on Node 3 and Node 4). Node 4 added a hint for Node 2 did a get and the value is A123 Node 3 returned the data, with background digest checks on Node 4 (RF=3 and Node 2 is down) Now Node 2 is back up Hints were handed off by Node 4 did a get and the value is the old value 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Was expecting the latest write wins - A123 written on Node 4 to be in Node 2. Any ideas ? Now if Node 2 is down the old value A123 will be returned Tried a repair when Node 2 was up and all Nodes got updated to the old data
Re: Cassandra users meetup in Israel
Riptano would be happy to provide a speaker, if that would be useful. On Mon, Nov 1, 2010 at 2:55 PM, Shashank Tiwari tsha...@gmail.com wrote: Its Dec 2 then! I will mail you offline and co-ordinate with you to plan the event out. Thanks, Shashank On Mon, Nov 1, 2010 at 11:10 AM, Shahid Ahmed shahid.ah...@me.com wrote: I would prefer Dec 2 if its not too inconvenient. REgarding the usage, at least my group is interested. Cheers, Shahid On Nov 1, 2010, at 9:56 AM, Shashank Tiwari wrote: Great and thanks for the offer! Just curious, are you folks at Apple using Apache Cassandra? Lets plan on an apache cassandra event before we wrap up for the year. maybe one right after Thanksgiving (how about Wednesday December 1st?). That could also serve the dual purpose of being a Holiday mixer. What say? Thanks, Shashank On Mon, Nov 1, 2010 at 9:48 AM, Shahid Ahmed shahid.ah...@me.com wrote: I will be happy to sponsor it at the Apple campus, Cupertino, California. Cheers, Shahid On Nov 1, 2010, at 9:21 AM, Shashank Tiwari wrote: Would folks in the bay area be interested in a Apache Cassandra monthly user group meetup of some form? Would anyone be willing to sponsor space for such a meetup? I would be happy to organize one if there is enough interest in the group. Thanks, Shashank On Mon, Nov 1, 2010 at 3:17 AM, Ran Tavory ran...@gmail.com wrote: http://cassandra-il.eventbrite.com/ Hi all, I'm organizing a users meetup in Israel, if you happen to be around you're most welcome to join. Event Details: The first Cassandra users meetup in Israel will take place at outbrain, Natanya on Tuesday Nov 16th 4pm. Please register and get yourself a (free) ticket from eventbrite. Space is limited and we want to make sure we have enough space for everyone, so please register. Once you register simply arrive at outbrain (directions below) and call Ran from Saifun's reception desk. We will cover: o Operations (Ran, unless someone else wants to jump in) o Internals and implementation overview (me again...) o Success stories and pain points - an open roundtable. Please advise, if you have specific subjects you're interested in or talks you're willing to propose (15-30min) we''re naturally very open to suggestions. -- /Ran -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
Adding nodes in new data center
We have a cluster running in one data center, and are adding some in a new data center. There are some data already in the current cluster. We did something wrong at first by not having AutoBootstrap on, when we saw no data being migrated. So we wiped out the data on the new nodes, and then start them up with AutoBootstrap on. We still did not see data migrated. I'm thinking that we need to do a nodetool decommission the new nodes, and start them with AutoBootstrap on. Does that make sense? Thanks. Henry The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers.
Re: Adding nodes in new data center
On Mon, Nov 1, 2010 at 6:01 PM, Henry Luo h...@choicestream.com wrote: We have a cluster running in one data center, and are adding some in a new data center. There are some data already in the current cluster. We did something wrong at first by not having AutoBootstrap on, when we saw no data being migrated. So we wiped out the data on the new nodes, and then start them up with AutoBootstrap on. We still did not see data migrated. I’m thinking that we need to do a nodetool decommission the new nodes, and start them with AutoBootstrap on. Does that make sense? Thanks. Henry The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. Correct. Once you have started a node with auto-bootstrap=false, changing the configuration file no longer works. The nodes are bootstrapped and joined to the cluster. Yes. you want to decommission or removetoken the new nodes. Set auto-bootstrap to true, set an initialtoken and start them.
Re: Question on Hinted Handoff
My findings - would be nice if somebody can please verify. Critical for our eval to verify HintedHandOff, ReadRepair and AntiEntropy works as we think it does Node 1, 2, 3, 4 RF=3 All nodes up - Node 2 is responsible for key 1005 Write CL=ONE, Insert key 1005, value=123 in Node 1 Node 2, 3, 4 gets data Read CL=ONE Read on all 4 nodes gets value 123 Node 2 is down now Write CL=ONE, Insert key 1005, value=A123 in Node 1 Node 3, 4 gets data Node 4 adds Hint for Node 2 Read CL=ONE Read on all 3 Node 1, 3, 4 gets value A123. Node 2 is brought back up Hint for 1 row is Handed off by Node 4 Read CL=ONE Read on Node 1, 2, gets old value 123. See log entries: Received responses in DataRepairHandler : ID : 72 FROM:/Node 3 TYPE:RESPONSE_STAGE VERB:READ_RESPONSE Received responses in DataRepairHandler : ID : 72 FROM:/Node 4 TYPE:RESPONSE_STAGE VERB:READ_RESPONSE Read CL=ONE Read on Node 3, 4, gets new value A123. Most of the times after a Read on Node 3 or 4 Node 1 and 2 start showing the latest updated A123 (updated when Node 2 was down) My expectation was even though Node 2 was down key written to Node 3 or 4 should be updated in Node 2 using Hint and the subsequent reads to Node 1 or Node 2 itself should have got the latest value On Mon, Nov 1, 2010 at 4:06 PM, Joe Alex joe.m.a...@gmail.com wrote: To keep the question simple, If an insert or remove Key happens when the responsible Node is down (RF=3) what is the expected behavior when the Node comes back up ? For example Key 1005 was removed when Node 2 was down. When Node 2 came back up it started showing back ? On Mon, Nov 1, 2010 at 2:22 PM, Joe Alex joe.m.a...@gmail.com wrote: I am running cassandra 0.6.6 4 nodes with RF=3 Have set the InitialTokens manually Loaded around 4 million records Had a question why the following is happening Node 4 was down when a new key 1005 was added (value 123). Node 2 which is responsible for the key added a Hint for Node 4 Node 4 was brought back up and noticed the Hints Handed off and data started showing up in Node 4 Noticed a ReadRepair also happenning All fine so far did a get and the value is 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Now Node 2 (responsible for key 1005) was taken down Key 1005 value was updated to A123 (ApplyRowMutation on Node 3 and Node 4). Node 4 added a hint for Node 2 did a get and the value is A123 Node 3 returned the data, with background digest checks on Node 4 (RF=3 and Node 2 is down) Now Node 2 is back up Hints were handed off by Node 4 did a get and the value is the old value 123 Node 2 returned the data, with background digest checks on Node 3 and Node 4 (RF=3) Was expecting the latest write wins - A123 written on Node 4 to be in Node 2. Any ideas ? Now if Node 2 is down the old value A123 will be returned Tried a repair when Node 2 was up and all Nodes got updated to the old data
Re: Question on Hinted Handoff
On Mon, Nov 1, 2010 at 8:28 PM, Joe Alex joe.m.a...@gmail.com wrote: My expectation was even though Node 2 was down key written to Node 3 or 4 should be updated in Node 2 using Hint and the subsequent reads to Node 1 or Node 2 itself should have got the latest value Your expectation is correct, unfortunately I broke HH in 0.6.5 with a bad backport and it affects 0.6.6: https://issues.apache.org/jira/browse/CASSANDRA-1656 But, that is why we have Read Repair and AES. It's worth noting that HH is best effort anyway, if Node 2 was down but the failure detector hadn't noticed yet, no hint would be created and you'd have the same behavior. -Brandon