[jira] [Resolved] (CASSANDRA-4887) store created date and last modified date for keyspaces and column families
[ https://issues.apache.org/jira/browse/CASSANDRA-4887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4887. --- Resolution: Duplicate store created date and last modified date for keyspaces and column families --- Key: CASSANDRA-4887 URL: https://issues.apache.org/jira/browse/CASSANDRA-4887 Project: Cassandra Issue Type: New Feature Reporter: Matthew F. Dennis Priority: Trivial would be useful to store the created/last_modified dates for keyspaces and column families -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4757) Expose bulk loading progress/status over jmx
[ https://issues.apache.org/jira/browse/CASSANDRA-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4757: -- Priority: Minor (was: Major) Labels: lhf (was: ) Expose bulk loading progress/status over jmx Key: CASSANDRA-4757 URL: https://issues.apache.org/jira/browse/CASSANDRA-4757 Project: Cassandra Issue Type: Improvement Reporter: Nick Bailey Priority: Minor Labels: lhf The bulk loading interface should be exposing some progress or status information over jmx. This shouldn't be too difficult and should be exposed in a way that the information is available whether you are using the separate sstableloader utility or calling the bulkload jmx call. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4740) Phantom TCP connections, failing hinted handoff
[ https://issues.apache.org/jira/browse/CASSANDRA-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4740. --- Resolution: Not A Problem Phantom TCP connections, failing hinted handoff --- Key: CASSANDRA-4740 URL: https://issues.apache.org/jira/browse/CASSANDRA-4740 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.2 Environment: Linux 3.4.9, java 1.6.0_35-b10 Reporter: Mina Naguib Priority: Minor Labels: connection, handoff, hinted, orphan, phantom, tcp, zombie Attachments: write_latency.png IP addresses in report anonymized: Had a server running cassandra (1.1.1.10) reboot ungracefully. Reboot and startup was successful and uneventful. cassandra went back into service ok. From that point onwards however, several (but not all) machines in the cassandra cluster started having difficulty with hinted handoff to that machine. This was despite nodetool ring showing Up across the board. Here's an example of an attempt, every 10 minutes, by a node (1.1.1.11) to replay hints to the node that was rebooted: {code} INFO [HintedHandoff:1] 2012-10-01 11:07:23,293 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:07:33,295 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:07:33,295 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:17:23,312 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:17:33,319 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:17:33,319 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:27:23,335 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:27:33,337 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:27:33,337 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:37:23,357 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:37:33,358 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:37:33,359 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:47:23,412 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:47:33,414 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:47:33,414 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 {code} I started poking around, and discovered that several nodes held ESTABLISHED TCP connections that didn't have a live endpoint on the rebooted node. My guess is they were live prior to the reboot, and after the reboot the nodes still see them as live and unsuccessfully try to use them. Example, on the node that was rebooted: {code} .10 ~ # netstat -tn | grep 1.1.1.11 tcp0 0 1.1.1.10:70001.1.1.11:40960ESTABLISHED tcp0 0 1.1.1.10:34370 1.1.1.11:7000 ESTABLISHED tcp0 0 1.1.1.10:45518 1.1.1.11:7000 ESTABLISHED {code} While on the node that's failing to hint to it: {code} .11 ~ # netstat -tn | grep 1.1.1.10 tcp0 0 1.1.1.11:7000 1.1.1.10:34370 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:45518 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:53316 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:43239 ESTABLISHED tcp0 0 1.1.1.11:409601.1.1.10:7000ESTABLISHED {code} Notice the phantom connections on :53316 and :43239 which do not appear on the remote 1.1.1.10 On .11 I tried disabling and enabling gossip, but that did not restart
[jira] [Commented] (CASSANDRA-4740) Phantom TCP connections, failing hinted handoff
[ https://issues.apache.org/jira/browse/CASSANDRA-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612004#comment-13612004 ] Jonathan Ellis commented on CASSANDRA-4740: --- Sounds like it's not a problem w/ appropriate stack size. Phantom TCP connections, failing hinted handoff --- Key: CASSANDRA-4740 URL: https://issues.apache.org/jira/browse/CASSANDRA-4740 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.2 Environment: Linux 3.4.9, java 1.6.0_35-b10 Reporter: Mina Naguib Priority: Minor Labels: connection, handoff, hinted, orphan, phantom, tcp, zombie Attachments: write_latency.png IP addresses in report anonymized: Had a server running cassandra (1.1.1.10) reboot ungracefully. Reboot and startup was successful and uneventful. cassandra went back into service ok. From that point onwards however, several (but not all) machines in the cassandra cluster started having difficulty with hinted handoff to that machine. This was despite nodetool ring showing Up across the board. Here's an example of an attempt, every 10 minutes, by a node (1.1.1.11) to replay hints to the node that was rebooted: {code} INFO [HintedHandoff:1] 2012-10-01 11:07:23,293 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:07:33,295 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:07:33,295 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:17:23,312 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:17:33,319 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:17:33,319 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:27:23,335 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:27:33,337 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:27:33,337 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:37:23,357 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:37:33,358 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:37:33,359 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:47:23,412 HintedHandOffManager.java (line 294) Started hinted handoff for token: 122879743610338889583996386017027409691 with IP: /1.1.1.10 INFO [HintedHandoff:1] 2012-10-01 11:47:33,414 HintedHandOffManager.java (line 372) Timed out replaying hints to /1.1.1.10; aborting further deliveries INFO [HintedHandoff:1] 2012-10-01 11:47:33,414 HintedHandOffManager.java (line 390) Finished hinted handoff of 0 rows to endpoint /1.1.1.10 {code} I started poking around, and discovered that several nodes held ESTABLISHED TCP connections that didn't have a live endpoint on the rebooted node. My guess is they were live prior to the reboot, and after the reboot the nodes still see them as live and unsuccessfully try to use them. Example, on the node that was rebooted: {code} .10 ~ # netstat -tn | grep 1.1.1.11 tcp0 0 1.1.1.10:70001.1.1.11:40960ESTABLISHED tcp0 0 1.1.1.10:34370 1.1.1.11:7000 ESTABLISHED tcp0 0 1.1.1.10:45518 1.1.1.11:7000 ESTABLISHED {code} While on the node that's failing to hint to it: {code} .11 ~ # netstat -tn | grep 1.1.1.10 tcp0 0 1.1.1.11:7000 1.1.1.10:34370 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:45518 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:53316 ESTABLISHED tcp0 0 1.1.1.11:7000 1.1.1.10:43239 ESTABLISHED tcp0 0 1.1.1.11:409601.1.1.10:7000ESTABLISHED {code} Notice the phantom connections on :53316 and :43239 which do not appear on
[jira] [Resolved] (CASSANDRA-4692) improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4))
[ https://issues.apache.org/jira/browse/CASSANDRA-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4692. --- Resolution: Won't Fix improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4)) -- Key: CASSANDRA-4692 URL: https://issues.apache.org/jira/browse/CASSANDRA-4692 Project: Cassandra Issue Type: Improvement Reporter: Michael Krumpholz Priority: Trivial Labels: cql, datatypes, error, exceptions, jdbc {noformat} InvalidRequestException(why:Expected 8 or 0 byte long (4)) {noformat} The error messages could be much more informative and helpful if the column names would be included in the message. Oh, before this question arises: the messages are generated within cassandra code even if it may be in the Jdbc* typed classes (not part of the jdbc project). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4692) improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4))
[ https://issues.apache.org/jira/browse/CASSANDRA-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612006#comment-13612006 ] Jonathan Ellis commented on CASSANDRA-4692: --- Generally, the code that raises those exceptions doesn't know what the column is named, or it would include it. improve error messages: InvalidRequestException(why:Expected 8 or 0 byte long (4)) -- Key: CASSANDRA-4692 URL: https://issues.apache.org/jira/browse/CASSANDRA-4692 Project: Cassandra Issue Type: Improvement Reporter: Michael Krumpholz Priority: Trivial Labels: cql, datatypes, error, exceptions, jdbc {noformat} InvalidRequestException(why:Expected 8 or 0 byte long (4)) {noformat} The error messages could be much more informative and helpful if the column names would be included in the message. Oh, before this question arises: the messages are generated within cassandra code even if it may be in the Jdbc* typed classes (not part of the jdbc project). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4673) Compaction of HintsColumnFamily stucks
[ https://issues.apache.org/jira/browse/CASSANDRA-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4673. --- Resolution: Duplicate Compaction of HintsColumnFamily stucks -- Key: CASSANDRA-4673 URL: https://issues.apache.org/jira/browse/CASSANDRA-4673 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.1 Environment: We've got a 24 nodes cluster with 3 virtual data centers. We've got 7 nodes with SSD drives. We are operating under very heavy read/write load. We typically seeing CPU usage 90% on our machines. We are using 1.1.2 - why this version is not listed in the 'Affected Version' drop down? Reporter: Bartłomiej Romański On some nodes the compaction of HintsColumnFamily stucked. Here is a typical output of 'nodetool compactionstats': pending tasks: 1 compaction typekeyspace column family bytes compacted bytes total progress Compaction systemHintsColumnFamily 346205828 34690966299.80% Active compaction remaining time : 0h00m00s Rebooting a node does not help. The compaction starts immediately after booting and stucks and the same point. If this can be related we are also expiring a problem described in CASSANDRA-4639. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4673) Compaction of HintsColumnFamily stucks
[ https://issues.apache.org/jira/browse/CASSANDRA-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612008#comment-13612008 ] Jonathan Ellis commented on CASSANDRA-4673: --- The multi-threaded compaction deadlock was fixed in CASSANDRA-4492. Compaction of HintsColumnFamily stucks -- Key: CASSANDRA-4673 URL: https://issues.apache.org/jira/browse/CASSANDRA-4673 Project: Cassandra Issue Type: Bug Affects Versions: 1.1.1 Environment: We've got a 24 nodes cluster with 3 virtual data centers. We've got 7 nodes with SSD drives. We are operating under very heavy read/write load. We typically seeing CPU usage 90% on our machines. We are using 1.1.2 - why this version is not listed in the 'Affected Version' drop down? Reporter: Bartłomiej Romański On some nodes the compaction of HintsColumnFamily stucked. Here is a typical output of 'nodetool compactionstats': pending tasks: 1 compaction typekeyspace column family bytes compacted bytes total progress Compaction systemHintsColumnFamily 346205828 34690966299.80% Active compaction remaining time : 0h00m00s Rebooting a node does not help. The compaction starts immediately after booting and stucks and the same point. If this can be related we are also expiring a problem described in CASSANDRA-4639. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4660) During Streaming, a new connection is created for every sstable we need to transfer.
[ https://issues.apache.org/jira/browse/CASSANDRA-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4660. --- Resolution: Won't Fix During Streaming, a new connection is created for every sstable we need to transfer. - Key: CASSANDRA-4660 URL: https://issues.apache.org/jira/browse/CASSANDRA-4660 Project: Cassandra Issue Type: New Feature Components: Core Reporter: sankalp kohli Priority: Minor Labels: perfomance, ponies We should try to reuse the connection for streaming sstables. This is inefficient when we are bootstrapping a large node with thousands of sstables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4660) During Streaming, a new connection is created for every sstable we need to transfer.
[ https://issues.apache.org/jira/browse/CASSANDRA-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612009#comment-13612009 ] Jonathan Ellis commented on CASSANDRA-4660: --- The cost of a TCP connection is negligible compared to streaming megabytes of data. During Streaming, a new connection is created for every sstable we need to transfer. - Key: CASSANDRA-4660 URL: https://issues.apache.org/jira/browse/CASSANDRA-4660 Project: Cassandra Issue Type: New Feature Components: Core Reporter: sankalp kohli Priority: Minor Labels: perfomance, ponies We should try to reuse the connection for streaming sstables. This is inefficient when we are bootstrapping a large node with thousands of sstables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4652) cqlsh previous command handling
[ https://issues.apache.org/jira/browse/CASSANDRA-4652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4652. --- Resolution: Won't Fix cqlsh previous command handling --- Key: CASSANDRA-4652 URL: https://issues.apache.org/jira/browse/CASSANDRA-4652 Project: Cassandra Issue Type: Improvement Reporter: Dave Finnegan Priority: Minor In a terminal shell commands can be entered in multi-line mode, similar to cqlsh. However, the previous command prompt (up arrow, ^p) provides the previous command as a single line which can then be edited without having to type the previous command key stroke for each of the multiple lines that were originally entered. So, rather than entering a 5 line command and then hitting the previous line keystroke 5 times to reissue the command, then 5 times to reissue the second line of the command (which you may edit), then 5 times again for line 3, 5x for ln4, 5x for ln5 and finally completing the command, you can simply hit the previous command keystroke, edit this (now complex) line, and reissue. It would be nice if cqlsh would include this same sort of behavior for previous command prompting as there are many cases where the previous command is used and these commands are often multi-line. I know that I could just type the original command as one, long, complex command line, but cqlsh really wants to take multi-line commands. So, this is a simple ease of use request. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4652) cqlsh previous command handling
[ https://issues.apache.org/jira/browse/CASSANDRA-4652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612011#comment-13612011 ] Jonathan Ellis commented on CASSANDRA-4652: --- [~iamaleksey] can correct me if I'm wrong, but readline doesn't give you this out of the box, which is why so many shells (python, irb, etc) don't give it to you. Bash goes to an enormous amount of effort to be able to turn a multiline statement into an equivalent one on a single line. cqlsh previous command handling --- Key: CASSANDRA-4652 URL: https://issues.apache.org/jira/browse/CASSANDRA-4652 Project: Cassandra Issue Type: Improvement Reporter: Dave Finnegan Priority: Minor In a terminal shell commands can be entered in multi-line mode, similar to cqlsh. However, the previous command prompt (up arrow, ^p) provides the previous command as a single line which can then be edited without having to type the previous command key stroke for each of the multiple lines that were originally entered. So, rather than entering a 5 line command and then hitting the previous line keystroke 5 times to reissue the command, then 5 times to reissue the second line of the command (which you may edit), then 5 times again for line 3, 5x for ln4, 5x for ln5 and finally completing the command, you can simply hit the previous command keystroke, edit this (now complex) line, and reissue. It would be nice if cqlsh would include this same sort of behavior for previous command prompting as there are many cases where the previous command is used and these commands are often multi-line. I know that I could just type the original command as one, long, complex command line, but cqlsh really wants to take multi-line commands. So, this is a simple ease of use request. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4638) Patch to bin/cassandra to use 64bit JVM if available
[ https://issues.apache.org/jira/browse/CASSANDRA-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4638: -- Reviewer: eevans (was: brandon.williams) Patch to bin/cassandra to use 64bit JVM if available Key: CASSANDRA-4638 URL: https://issues.apache.org/jira/browse/CASSANDRA-4638 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 1.1.4 Environment: Tested on Solaris 11 with Oracle supplied JVM 1.6 and 1.7 Reporter: Bernhard Roth Labels: 64bit, java, jvm, linux, patch, solaris Attachments: cassandra.patch Original Estimate: 0.25h Remaining Estimate: 0.25h Cassandra uses by default the JAVA binary at $JAVA_HOME/bin and complains at start that the 64bit version should be used. Well, even if the 64bit JAVA version is installed, cassandra still does not use it. Attached patch solves this problem by checking if $JAVA_HOME/bin/amd64/java binary exists. If yes, it will be used for cassandra. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4596) thrift call to get_paged_slice() hangs if end token is 0
[ https://issues.apache.org/jira/browse/CASSANDRA-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4596. --- Resolution: Cannot Reproduce thrift call to get_paged_slice() hangs if end token is 0 -- Key: CASSANDRA-4596 URL: https://issues.apache.org/jira/browse/CASSANDRA-4596 Project: Cassandra Issue Type: Bug Components: API, Core, Hadoop Affects Versions: 1.1.3 Environment: linux Reporter: Normen Seemann I am using get_paged_slice() for range scans driven from within hadoop mappers. The mapper that scans the last segment with get_paged_slice() where start key is set *and* end_token is set to 0 token hangs within the thirft call. Client shows following jstack: - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted frame) - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Interpreted frame) - org.apache.thrift.transport.TIOStreamTransport.read(byte[], int, int) @bci=25, line=127 (Interpreted frame) - org.apache.thrift.transport.TTransport.readAll(byte[], int, int) @bci=22, line=84 (Interpreted frame) - org.apache.thrift.transport.TFramedTransport.readFrame() @bci=10, line=129 (Interpreted frame) - org.apache.thrift.transport.TFramedTransport.read(byte[], int, int) @bci=28, line=101 (Interpreted frame) - org.apache.thrift.transport.TTransport.readAll(byte[], int, int) @bci=22, line=84 (Interpreted frame) - org.apache.thrift.protocol.TBinaryProtocol.readAll(byte[], int, int) @bci=12, line=378 (Interpreted frame) - org.apache.thrift.protocol.TBinaryProtocol.readI32() @bci=52, line=297 (Interpreted frame) - org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin() @bci=1, line=204 (Interpreted frame) - org.apache.thrift.TServiceClient.receiveBase(org.apache.thrift.TBase, java.lang.String) @bci=4, line=69 (Interpreted frame) - org.apache.cassandra.thrift.Cassandra$Client.recv_get_paged_slice() @bci=12, line=727 (Interpreted frame) - org.apache.cassandra.thrift.Cassandra$Client.get_paged_slice(java.lang.String, org.apache.cassandra.thrift.KeyRange, java.nio.ByteBuffer, org.apache.cassandra.thrift.ConsistencyLevel) @bci=10, line=711 (Interpreted frame) Changing the end_token from 0 to 2**127-1 fixes the problem, however, I would only consider this a workaround. Now, there are actually two issues: 1.) Is the call to get_paged_slice() I described supported at all? 2.) if it is not supported please fix with reasonable error instead of just hanging -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4638) Patch to bin/cassandra to use 64bit JVM if available
[ https://issues.apache.org/jira/browse/CASSANDRA-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612012#comment-13612012 ] Jonathan Ellis commented on CASSANDRA-4638: --- Changing reviewer to [~eevans] Patch to bin/cassandra to use 64bit JVM if available Key: CASSANDRA-4638 URL: https://issues.apache.org/jira/browse/CASSANDRA-4638 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 1.1.4 Environment: Tested on Solaris 11 with Oracle supplied JVM 1.6 and 1.7 Reporter: Bernhard Roth Labels: 64bit, java, jvm, linux, patch, solaris Attachments: cassandra.patch Original Estimate: 0.25h Remaining Estimate: 0.25h Cassandra uses by default the JAVA binary at $JAVA_HOME/bin and complains at start that the 64bit version should be used. Well, even if the 64bit JAVA version is installed, cassandra still does not use it. Attached patch solves this problem by checking if $JAVA_HOME/bin/amd64/java binary exists. If yes, it will be used for cassandra. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4595) Nodetool commands like scrub uses hard coded data directory path to be /var/lib/cassandra
[ https://issues.apache.org/jira/browse/CASSANDRA-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4595. --- Resolution: Invalid Nodetool commands like scrub uses hard coded data directory path to be /var/lib/cassandra - Key: CASSANDRA-4595 URL: https://issues.apache.org/jira/browse/CASSANDRA-4595 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.4 Reporter: sankalp kohli Priority: Minor Labels: nodetool Original Estimate: 24h Remaining Estimate: 24h If your data directory is not /var/lib/cassandra, the scrub and other nodetool commands won't work. This should not be hard coded but rather be picked up from the yaml. We have to create sym links to get around it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4551) Nodetool getendpoints keys do not work with spaces, key_validation=ascii value of key = a test no delimiter
[ https://issues.apache.org/jira/browse/CASSANDRA-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4551: -- Description: Nodetool getendpoints keys do not work with embedded spaces, key_validation=ascii value of key = a test no delimiter tried to escape key = a test with double and single quotes. It doesn't work. It just reiterates the format of the tool's command: getendpoints requires ks, cf and key args (was: Nodetool getendpoints keys do not work with ASCII, key_validation=ascii value of key = a test no delimiter tried to escape key = a test with double and single quotes. It doesn't work. It just reiterates the format of the tool's command: getendpoints requires ks, cf and key args) Priority: Trivial (was: Major) Labels: datastax_qa lhf (was: datastax_qa) Summary: Nodetool getendpoints keys do not work with spaces, key_validation=ascii value of key = a test no delimiter (was: Nodetool getendpoints keys do not work with ASCII, key_validation=ascii value of key = a test no delimiter) Nodetool getendpoints keys do not work with spaces, key_validation=ascii value of key = a test no delimiter --- Key: CASSANDRA-4551 URL: https://issues.apache.org/jira/browse/CASSANDRA-4551 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.0.9 Reporter: Mark Valdez Priority: Trivial Labels: datastax_qa, lhf Nodetool getendpoints keys do not work with embedded spaces, key_validation=ascii value of key = a test no delimiter tried to escape key = a test with double and single quotes. It doesn't work. It just reiterates the format of the tool's command: getendpoints requires ks, cf and key args -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4525) https://issues.apache.org/jira/browse/CASSANDRA-4516
[ https://issues.apache.org/jira/browse/CASSANDRA-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612015#comment-13612015 ] Jonathan Ellis commented on CASSANDRA-4525: --- MessagingServiceMBean has offered getCommandDroppedTasks since OTC was able to drop tasks in CASSANDRA-3005. https://issues.apache.org/jira/browse/CASSANDRA-4516 Key: CASSANDRA-4525 URL: https://issues.apache.org/jira/browse/CASSANDRA-4525 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.4 Reporter: sankalp kohli Priority: Minor Since there is one connection between two nodes and all writes are handled by single thread, there is a chance that a message gets old enough and is dropped in OutboundTcpConnection. These dropped message does not get logged by MessageService. We should definitely log these. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4513) Nodes removed with removetoken stay around preventing truncation
[ https://issues.apache.org/jira/browse/CASSANDRA-4513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4513. --- Resolution: Duplicate Nodes removed with removetoken stay around preventing truncation Key: CASSANDRA-4513 URL: https://issues.apache.org/jira/browse/CASSANDRA-4513 Project: Cassandra Issue Type: Bug Affects Versions: 1.0.10 Environment: Ubuntu, EC2 Reporter: Taras Ovsyankin Priority: Minor Removed multiple nodes from the cluster in order to scale down (killed VMs then ran removetoken for every dead node). Nodetool ring looks happy, but cassandra-cli reports removed nodes as UNREACHABLE and truncation doesn't work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4525) https://issues.apache.org/jira/browse/CASSANDRA-4516
[ https://issues.apache.org/jira/browse/CASSANDRA-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4525. --- Resolution: Invalid https://issues.apache.org/jira/browse/CASSANDRA-4516 Key: CASSANDRA-4525 URL: https://issues.apache.org/jira/browse/CASSANDRA-4525 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.4 Reporter: sankalp kohli Priority: Minor Since there is one connection between two nodes and all writes are handled by single thread, there is a chance that a message gets old enough and is dropped in OutboundTcpConnection. These dropped message does not get logged by MessageService. We should definitely log these. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4512) Nodes removed with removetoken stay around preventing truncation
[ https://issues.apache.org/jira/browse/CASSANDRA-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4512. --- Resolution: Cannot Reproduce Nodes removed with removetoken stay around preventing truncation Key: CASSANDRA-4512 URL: https://issues.apache.org/jira/browse/CASSANDRA-4512 Project: Cassandra Issue Type: Bug Affects Versions: 1.0.10 Environment: Ubuntu, EC2 Reporter: Taras Ovsyankin Priority: Minor Removed multiple nodes from the cluster in order to scale down (killed VMs then ran removetoken for every dead node). Nodetool ring looks happy, but cassandra-cli reports removed nodes as UNREACHABLE and truncation doesn't work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4486) UnavailableException when setting up a keyspace without a replication factor
[ https://issues.apache.org/jira/browse/CASSANDRA-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4486. --- Resolution: Invalid UnavailableException when setting up a keyspace without a replication factor Key: CASSANDRA-4486 URL: https://issues.apache.org/jira/browse/CASSANDRA-4486 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.10 Environment: ubuntu 12.04 Reporter: Steve Arch Priority: Minor We have a cassandra cluster of 4 nodes. When I use cassandra cli to set up a keyspace without explicitely setting a replication factor, trying to add a CF fails with an UnavailableException: [default@unknown] create keyspace foo; ae639ba0-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@unknown] use foo; Authenticated to keyspace: foo [default@foo] create column family User with comparator = UTF8Type; b4608180-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@foo] update column family User with ... column_metadata = ... [ ... {column_name: first, validation_class: UTF8Type}, ... {column_name: last, validation_class: UTF8Type}, ... {column_name: age, validation_class: UTF8Type, index_type: KEYS} ... ]; b70562c0-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@foo] set User['jsmith']['first'] = 'John'; null UnavailableException() at org.apache.cassandra.thrift.Cassandra$insert_result.read(Cassandra.java:15206) at org.apache.cassandra.thrift.Cassandra$Client.recv_insert(Cassandra.java:858) at org.apache.cassandra.thrift.Cassandra$Client.insert(Cassandra.java:830) at org.apache.cassandra.cli.CliClient.executeSet(CliClient.java:901) at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:218) at org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:220) at org.apache.cassandra.cli.CliMain.main(CliMain.java:348) Either this should work fine (and no unavailableException shoud be thrown) or an exception should be thrown when I create the keyspace because I have set it up wrong. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4486) UnavailableException when setting up a keyspace without a replication factor
[ https://issues.apache.org/jira/browse/CASSANDRA-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612016#comment-13612016 ] Jonathan Ellis commented on CASSANDRA-4486: --- I pasted in your example as-is and got Value inserted. Elapsed time: 46 msec(s). UnavailableException when setting up a keyspace without a replication factor Key: CASSANDRA-4486 URL: https://issues.apache.org/jira/browse/CASSANDRA-4486 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.10 Environment: ubuntu 12.04 Reporter: Steve Arch Priority: Minor We have a cassandra cluster of 4 nodes. When I use cassandra cli to set up a keyspace without explicitely setting a replication factor, trying to add a CF fails with an UnavailableException: [default@unknown] create keyspace foo; ae639ba0-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@unknown] use foo; Authenticated to keyspace: foo [default@foo] create column family User with comparator = UTF8Type; b4608180-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@foo] update column family User with ... column_metadata = ... [ ... {column_name: first, validation_class: UTF8Type}, ... {column_name: last, validation_class: UTF8Type}, ... {column_name: age, validation_class: UTF8Type, index_type: KEYS} ... ]; b70562c0-d4b8-11e1--424d3d43a8df Waiting for schema agreement... schemas agree across the cluster [default@foo] set User['jsmith']['first'] = 'John'; null UnavailableException() at org.apache.cassandra.thrift.Cassandra$insert_result.read(Cassandra.java:15206) at org.apache.cassandra.thrift.Cassandra$Client.recv_insert(Cassandra.java:858) at org.apache.cassandra.thrift.Cassandra$Client.insert(Cassandra.java:830) at org.apache.cassandra.cli.CliClient.executeSet(CliClient.java:901) at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:218) at org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:220) at org.apache.cassandra.cli.CliMain.main(CliMain.java:348) Either this should work fine (and no unavailableException shoud be thrown) or an exception should be thrown when I create the keyspace because I have set it up wrong. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4476) Support 2ndary index queries with only non-EQ clauses
[ https://issues.apache.org/jira/browse/CASSANDRA-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4476: -- Component/s: Core API Priority: Minor (was: Major) Fix Version/s: 2.0 Support 2ndary index queries with only non-EQ clauses - Key: CASSANDRA-4476 URL: https://issues.apache.org/jira/browse/CASSANDRA-4476 Project: Cassandra Issue Type: Improvement Components: API, Core Reporter: Sylvain Lebresne Priority: Minor Fix For: 2.0 Currently, a query that uses 2ndary indexes must have at least one EQ clause (on an indexed column). Given that indexed CFs are local (and use LocalPartitioner that order the row by the type of the indexed column), we should extend 2ndary indexes to allow querying indexed columns even when no EQ clause is provided. As far as I can tell, the main problem to solve for this is to update KeysSearcher.highestSelectivityPredicate(). I.e. how do we estimate the selectivity of non-EQ clauses? I note however that if we can do that estimate reasonably accurately, this might provide better performance even for index queries that both EQ and non-EQ clauses, because some non-EQ clauses may have a much better selectivity than EQ ones (say you index both the user country and birth date, for SELECT * FROM users WHERE country = 'US' AND birthdate 'Jan 2009' AND birtdate 'July 2009', you'd better use the birthdate index first). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4465) Index fails to be created on all nodes in cluster, restart resolves
[ https://issues.apache.org/jira/browse/CASSANDRA-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4465. --- Resolution: Fixed Index fails to be created on all nodes in cluster, restart resolves --- Key: CASSANDRA-4465 URL: https://issues.apache.org/jira/browse/CASSANDRA-4465 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.10 Environment: 21 node cluster, Ubuntu Linux 11.10 in a virtualized environment, Apache cassandra community release, binary distribution Reporter: Grant Heffernan Priority: Minor On a production cluster, under load, creating an index on a column resulted in the index being successfully created on 4 of 21 nodes. All nodes received the schema agreement and were in concert. There were no errors logged on any of the nodes that failed to build the index. A rolling restart of the cluster resulted in the nodes which had previously failed to build the index doing so when coming back up from a restart. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4465) Index fails to be created on all nodes in cluster, restart resolves
[ https://issues.apache.org/jira/browse/CASSANDRA-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612019#comment-13612019 ] Jonathan Ellis commented on CASSANDRA-4465: --- Should be fixed by new schema propagation code in 1.1 and 1.2. Index fails to be created on all nodes in cluster, restart resolves --- Key: CASSANDRA-4465 URL: https://issues.apache.org/jira/browse/CASSANDRA-4465 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.10 Environment: 21 node cluster, Ubuntu Linux 11.10 in a virtualized environment, Apache cassandra community release, binary distribution Reporter: Grant Heffernan Priority: Minor On a production cluster, under load, creating an index on a column resulted in the index being successfully created on 4 of 21 nodes. All nodes received the schema agreement and were in concert. There were no errors logged on any of the nodes that failed to build the index. A rolling restart of the cluster resulted in the nodes which had previously failed to build the index doing so when coming back up from a restart. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4451) add thousand separator when display size
[ https://issues.apache.org/jira/browse/CASSANDRA-4451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4451. --- Resolution: Won't Fix add thousand separator when display size Key: CASSANDRA-4451 URL: https://issues.apache.org/jira/browse/CASSANDRA-4451 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 1.1.2 Reporter: feng qu Priority: Minor I would like to see size displayed using thousand separator in system log as well as in nodetool compactionstats/cfstats/netstats/tpstats etc. here is an example in system.log INFO [OptionalTasks:1] 2012-07-19 10:02:21,137 MeteredFlusher.java (line 62) flushing high-traffic column family CFS(Keyspace='mobilelogks', ColumnFamily='UserNotificationLog') (estimated 1632406241 bytes) 1,632,406,241 is better to read than 1632406241. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4451) add thousand separator when display size
[ https://issues.apache.org/jira/browse/CASSANDRA-4451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612021#comment-13612021 ] Jonathan Ellis commented on CASSANDRA-4451: --- Sorry, this isn't worth trying to enforce across all our log messages. add thousand separator when display size Key: CASSANDRA-4451 URL: https://issues.apache.org/jira/browse/CASSANDRA-4451 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 1.1.2 Reporter: feng qu Priority: Minor I would like to see size displayed using thousand separator in system log as well as in nodetool compactionstats/cfstats/netstats/tpstats etc. here is an example in system.log INFO [OptionalTasks:1] 2012-07-19 10:02:21,137 MeteredFlusher.java (line 62) flushing high-traffic column family CFS(Keyspace='mobilelogks', ColumnFamily='UserNotificationLog') (estimated 1632406241 bytes) 1,632,406,241 is better to read than 1632406241. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5036) Wrong description of 'setstreamthroughput' option
[ https://issues.apache.org/jira/browse/CASSANDRA-5036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612022#comment-13612022 ] Marcus Eriksson commented on CASSANDRA-5036: I agree it might be a bit too high defaulting to 200 sounds good Wrong description of 'setstreamthroughput' option - Key: CASSANDRA-5036 URL: https://issues.apache.org/jira/browse/CASSANDRA-5036 Project: Cassandra Issue Type: Bug Components: Config, Documentation website Affects Versions: 1.1.6 Environment: Cassandra 1.1.6 (DataStax distribution) Reporter: Alexey Zotov Assignee: Marcus Eriksson Priority: Trivial There is a typo in description of 'setstreamthroughput' option. It is measured in megabits per second. Page with wrong description: http://www.datastax.com/docs/1.1/references/nodetool#nodetool-setstreamthroughput Page with right description: http://www.datastax.com/docs/1.1/configuration/node_configuration#stream-throughput-outbound-megabits-per-sec Also I want to discuss possibility to reduce default value for this option. I think that 400 Mbs is too high for common cases. Preface: This option is used only in case streams. There are two cases when streams are actual. They are rebuilding of a node and repair process. Let's skip first case and will talk only about the second. Let's imagine that we have replication factor 3. Cross-datacenter connectivity case: When we start repair process it will borrow all network channel. Let's do some calculations. You start repair on an one node, e.g. 5 node (3 remote and 2 local) should send us some data. Note that 3 of them are from remote datacenter. So 400 * 3 = 1,2 Gbs we should receive through WAN. I'm sure that it's too high. I suggest to make it 2 times less. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4392) Create a tool that will convert a commit log into a series of readable CQL statements
[ https://issues.apache.org/jira/browse/CASSANDRA-4392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4392. --- Resolution: Won't Fix Create a tool that will convert a commit log into a series of readable CQL statements - Key: CASSANDRA-4392 URL: https://issues.apache.org/jira/browse/CASSANDRA-4392 Project: Cassandra Issue Type: Improvement Components: Tools Affects Versions: 0.5 Reporter: Jeremy Hanna To enable a case of point in time recovery not currently handled by cassandra, it would be great to have a way to convert a commit log into a series of readable CQL statements. Currently one is able to do recovery up to current sstables, or with CASSANDRA-3690, additionally apply the current commit logs in their entirety. The one missing case is to say that I want to recover to a point in time before I did stupid/damaging operation X. That needs visibility into the commit logs. I thought the simplest way to do this would be to have a tool that converts commit logs into readable CQL statements so they could be selectively applied. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4440) Better output desired to diagnose hung bootstrap due to partial connectivity
[ https://issues.apache.org/jira/browse/CASSANDRA-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612023#comment-13612023 ] Jonathan Ellis commented on CASSANDRA-4440: --- What do you suggest, given that debug-level verbosity is the wrong default most of the time? Better output desired to diagnose hung bootstrap due to partial connectivity Key: CASSANDRA-4440 URL: https://issues.apache.org/jira/browse/CASSANDRA-4440 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 0.8.10 Reporter: Thomas Whaples Priority: Trivial I was attempting to set up a new node and bootstrap it into my cluster. Due to an error in my network configuration, this node was able to communicate with only a portion of the existing nodes (it could connect to 3 out of 5 existing nodes). As a result, the node transferred some data, but ultimately got stuck in a state of 'Joining' the cluster and not doing anything. Unfortunately, it was a little tricky to diagnose. I only figured it out when I turned on debug-level monitoring and saw a message about trying to establish an outbound connection (not a *failure* to establish it, just a note that it was trying to establish one. I'd quote it, but the debug logs got rotated in the logspew.) For posterity, I would like to request that a node in this sort of a situation present additional messages or other diagnostics. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4387) Multiple RPC threads waiting on a single thread
[ https://issues.apache.org/jira/browse/CASSANDRA-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612024#comment-13612024 ] Jonathan Ellis commented on CASSANDRA-4387: --- Did you ever see this recur? Multiple RPC threads waiting on a single thread --- Key: CASSANDRA-4387 URL: https://issues.apache.org/jira/browse/CASSANDRA-4387 Project: Cassandra Issue Type: Bug Affects Versions: 1.0.7 Environment: sun java 6.24 Reporter: Jason Harvey Priority: Minor Attachments: output.log I'm investigating a load spike issue on our cluster. A thread dump that I collected during a spike shows a peculiar symptom. There are 162 RPC threads all parked waiting on a single java.util.concurrent.SynchronousQueue$TransferStack thread. Brandon took a peek and recommended I create a ticket for investigation. Full thread dump attached. The thread which is being waited on is 0x0006ac1aba60. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4367) NPE in murmur-hash
[ https://issues.apache.org/jira/browse/CASSANDRA-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4367. --- Resolution: Cannot Reproduce NPE in murmur-hash -- Key: CASSANDRA-4367 URL: https://issues.apache.org/jira/browse/CASSANDRA-4367 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.7 Environment: GNU/Linux 2.6.18, 64-bit JDK 1.6.0_02-b05, Cassandra 1.0.7 NTS Reporter: Ravikumar Priority: Minor We were running nodetool repair -pr ZMail MsgConvMapper and received the following error during a compaction INFO [CompactionExecutor:595] 2012-06-13 08:46:59,927 CompactionTask.java (line 113) Compacting [SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-183-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-185-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-171-Data.db'), SSTableReader(path='/home/sas/system/data/ZMail/MsgConvMapper-hc-182-Data.db')] INFO [CompactionExecutor:595] 2012-06-13 09:39:58,570 CompactionController.java (line 133) Compacting large row ZMail/MsgConvMapper:69101157001 (81190450 bytes) incrementally ERROR [CompactionExecutor:595] 2012-06-13 09:44:46,718 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[CompactionExecutor:595,1,main] java.lang.NullPointerException at org.apache.cassandra.utils.MurmurHash.hash64(MurmurHash.java:102) at org.apache.cassandra.utils.BloomFilter.getHashBuckets(BloomFilter.java:103) at org.apache.cassandra.utils.BloomFilter.getHashBuckets(BloomFilter.java:92) at org.apache.cassandra.utils.BloomFilter.add(BloomFilter.java:114) at org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:96) at org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:51) at org.apache.cassandra.db.compaction.PrecompactedRow.write(PrecompactedRow.java:135) at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:160) at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:159) at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:134) at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:114) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) The CF Def is: Keyspace: ZMail: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy Durable Writes: true Options: [DC2:2, DC1:3] Column Families: ColumnFamily: MsgConvMapper (Super) Key Validation Class: org.apache.cassandra.db.marshal.LongType Default column value validator: org.apache.cassandra.db.marshal.BytesType Columns sorted by: org.apache.cassandra.db.marshal.LongType/org.apache.cassandra.db.marshal.BytesType Row cache size / save period in seconds / keys to save : 0.0/0/all Row Cache Provider: org.apache.cassandra.cache.SerializingCacheProvider Key cache size / save period in seconds: 20.0/14400 GC grace seconds: 1209600 Compaction min/max thresholds: 4/32 Read repair chance: 1.0 Replicate on write: true Bloom Filter FP chance: default Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy I do not see those any of those SSTables in disk, that participated in the above failed compaction. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4354) Add default range constraint to prevent non-intuitive results when using composite key
[ https://issues.apache.org/jira/browse/CASSANDRA-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4354. --- Resolution: Cannot Reproduce Add default range constraint to prevent non-intuitive results when using composite key -- Key: CASSANDRA-4354 URL: https://issues.apache.org/jira/browse/CASSANDRA-4354 Project: Cassandra Issue Type: New Feature Components: Core Affects Versions: 1.1.1 Environment: Any Reporter: Leonid Ilyevsky When ByteOrderedPartitioner is used, and the table has a composite primary key, the result of the query may be logically incorrect if only one inequality is specified. For example, let say x and y are components of the key. The query with the predicate like x = ? will give correct answer, as well as x = ? and y = ? and y = ?. However, the predicate x = ? and y = ? will give the result where we may see different values of x. This behavior is understandable because we know how the composite key is used internally, but it is very confusing for users with sql experience, and indeed is very inconvenient overall. This can me easily fixed by automatically adding the complementary inequality constraint, using bit sequence of all zeroes or all ones, depending on the side. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4342) Add a Pig udf to help serialize composite columns
[ https://issues.apache.org/jira/browse/CASSANDRA-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612025#comment-13612025 ] Jonathan Ellis commented on CASSANDRA-4342: --- Subset of CASSANDRA-4421 Add a Pig udf to help serialize composite columns - Key: CASSANDRA-4342 URL: https://issues.apache.org/jira/browse/CASSANDRA-4342 Project: Cassandra Issue Type: Improvement Components: Hadoop Reporter: Jeremy Hanna Priority: Minor Labels: hadoop, pig A Pig udf is required to serialize composite columns in a pig script. It would be nice to have a built-in udf to do that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4342) Add a Pig udf to help serialize composite columns
[ https://issues.apache.org/jira/browse/CASSANDRA-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4342. --- Resolution: Duplicate Add a Pig udf to help serialize composite columns - Key: CASSANDRA-4342 URL: https://issues.apache.org/jira/browse/CASSANDRA-4342 Project: Cassandra Issue Type: Improvement Components: Hadoop Reporter: Jeremy Hanna Priority: Minor Labels: hadoop, pig A Pig udf is required to serialize composite columns in a pig script. It would be nice to have a built-in udf to do that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[5/5] git commit: merge from 1.2
merge from 1.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1137f989 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1137f989 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1137f989 Branch: refs/heads/trunk Commit: 1137f989b6f760deec1cf521bc1c501946eb6949 Parents: 8744c04 2ab0c72 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 01:42:43 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 01:42:43 2013 -0500 -- CHANGES.txt|1 + conf/cassandra.yaml|4 ++-- src/java/org/apache/cassandra/config/Config.java |6 +++--- .../cassandra/config/DatabaseDescriptor.java | 12 4 files changed, 6 insertions(+), 17 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/1137f989/CHANGES.txt -- diff --cc CHANGES.txt index 586a760,945b64d..1ff9fe9 --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -1,28 -1,5 +1,29 @@@ +2.0 + * Optimize tombstone creation for ExpiringColumns (CASSANDRA-4917) + * Improve LeveledScanner work estimation (CASSANDRA-5250) + * Replace compaction lock with runWithCompactionsDisabled (CASSANDRA-3430) + * Change Message IDs to ints (CASSANDRA-5307) + * Move sstable level information into the Stats component, removing the + need for a separate Manifest file (CASSANDRA-4872) + * avoid serializing to byte[] on commitlog append (CASSANDRA-5199) + * make index_interval configurable per columnfamily (CASSANDRA-3961) + * add default_time_to_live (CASSANDRA-3974) + * add memtable_flush_period_in_ms (CASSANDRA-4237) + * replace supercolumns internally by composites (CASSANDRA-3237, 5123) + * upgrade thrift to 0.9.0 (CASSANDRA-3719) + * drop unnecessary keyspace parameter from user-defined compaction API + (CASSANDRA-5139) + * more robust solution to incomplete compactions + counters (CASSANDRA-5151) + * Change order of directory searching for c*.in.sh (CASSANDRA-3983) + * Add tool to reset SSTable compaction level for LCS (CASSANDRA-5271) + * Allow custom configuration loader (CASSANDRA-5045) + * Remove memory emergency pressure valve logic (CASSANDRA-3534) + * Reduce request latency with eager retry (CASSANDRA-4705) + * cqlsh: Remove ASSUME command (CASSANDRA-5331) + + 1.2.4 + * Change default stream throughput from 400 to 200 mbps (CASSANDRA-5036) * Gossiper logs DOWN for symmetry with UP (CASSANDRA-5187) * Fix mixing prepared statements between keyspaces (CASSANDRA-5352) * Fix consistency level during bootstrap - strike 3 (CASSANDRA-5354) http://git-wip-us.apache.org/repos/asf/cassandra/blob/1137f989/conf/cassandra.yaml -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/1137f989/src/java/org/apache/cassandra/config/Config.java -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/1137f989/src/java/org/apache/cassandra/config/DatabaseDescriptor.java -- diff --cc src/java/org/apache/cassandra/config/DatabaseDescriptor.java index 8902944,31e0b5a..8bde2cc --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@@ -85,400 -91,418 +85,388 @@@ public class DatabaseDescripto private static String localDC; private static ComparatorInetAddress localComparator; -/** - * Inspect the classpath to find storage configuration file - */ -static URL getStorageConfigURL() throws ConfigurationException +static { -String configUrl = System.getProperty(cassandra.config); -if (configUrl == null) -configUrl = DEFAULT_CONFIGURATION; - -URL url; -try +// In client mode, we use a default configuration. Note that the fields of this class will be +// left unconfigured however (the partitioner or localDC will be null for instance) so this +// should be used with care. +if (Config.isClientMode()) { -url = new URL(configUrl); -url.openStream().close(); // catches well-formed but bogus URLs -} -catch (Exception e) -{ -ClassLoader loader = DatabaseDescriptor.class.getClassLoader(); -url = loader.getResource(configUrl); -if (url == null) -throw new ConfigurationException(Cannot locate + configUrl); +conf = new Config(); } - -return url; -} - -static -{
[2/5] git commit: Change default stream throughput from 400 to 200 mbps patch by Alexey Zotov; reviewed by Marcus Eriksson for CASSANDRA-5036
Change default stream throughput from 400 to 200 mbps patch by Alexey Zotov; reviewed by Marcus Eriksson for CASSANDRA-5036 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/9f186117 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/9f186117 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/9f186117 Branch: refs/heads/trunk Commit: 9f18611775fc6c277ec1521d0bcd084bda4498ef Parents: 0d51a54 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 01:38:37 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 01:41:59 2013 -0500 -- CHANGES.txt|1 + conf/cassandra.yaml|4 ++-- src/java/org/apache/cassandra/config/Config.java |2 +- .../cassandra/config/DatabaseDescriptor.java |3 --- 4 files changed, 4 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index c9bc5d7..945b64d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 1.2.4 + * Change default stream throughput from 400 to 200 mbps (CASSANDRA-5036) * Gossiper logs DOWN for symmetry with UP (CASSANDRA-5187) * Fix mixing prepared statements between keyspaces (CASSANDRA-5352) * Fix consistency level during bootstrap - strike 3 (CASSANDRA-5354) http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/conf/cassandra.yaml -- diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml index 178487d..76e5901 100644 --- a/conf/cassandra.yaml +++ b/conf/cassandra.yaml @@ -477,8 +477,8 @@ compaction_preheat_key_cache: true # given total throughput in Mbps. This is necessary because Cassandra does # mostly sequential IO when streaming data during bootstrap or repair, which # can lead to saturating the network connection and degrading rpc performance. -# When unset, the default is 400 Mbps or 50 MB/s. -# stream_throughput_outbound_megabits_per_sec: 400 +# When unset, the default is 200 Mbps or 25 MB/s. +# stream_throughput_outbound_megabits_per_sec: 200 # How long the coordinator should wait for read operations to complete read_request_timeout_in_ms: 1 http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/src/java/org/apache/cassandra/config/Config.java -- diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 212147a..780eaac 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -110,7 +110,7 @@ public class Config public Integer max_streaming_retries = 3; -public volatile Integer stream_throughput_outbound_megabits_per_sec; +public volatile Integer stream_throughput_outbound_megabits_per_sec = 200; public String[] data_file_directories; http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/src/java/org/apache/cassandra/config/DatabaseDescriptor.java -- diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index 5fcef07..bf793be 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -410,9 +410,6 @@ public class DatabaseDescriptor if (conf.compaction_throughput_mb_per_sec == null) conf.compaction_throughput_mb_per_sec = 16; -if (conf.stream_throughput_outbound_megabits_per_sec == null) -conf.stream_throughput_outbound_megabits_per_sec = 400; - if (conf.rpc_min_threads == null) conf.rpc_min_threads = 16;
[4/5] git commit: cleanup
cleanup Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2ab0c720 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2ab0c720 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2ab0c720 Branch: refs/heads/cassandra-1.2 Commit: 2ab0c720f800292fc705f277b90097f6d0b16f26 Parents: 9f18611 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 01:39:24 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 01:42:02 2013 -0500 -- src/java/org/apache/cassandra/config/Config.java |4 ++-- .../cassandra/config/DatabaseDescriptor.java |9 - 2 files changed, 2 insertions(+), 11 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/2ab0c720/src/java/org/apache/cassandra/config/Config.java -- diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 780eaac..5061042 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -84,8 +84,8 @@ public class Config public Integer rpc_port = 9160; public String rpc_server_type = sync; public Boolean rpc_keepalive = true; -public Integer rpc_min_threads = null; -public Integer rpc_max_threads = null; +public Integer rpc_min_threads = 16; +public Integer rpc_max_threads = Integer.MAX_VALUE; public Integer rpc_send_buff_size_in_bytes; public Integer rpc_recv_buff_size_in_bytes; public Integer internode_send_buff_size_in_bytes; http://git-wip-us.apache.org/repos/asf/cassandra/blob/2ab0c720/src/java/org/apache/cassandra/config/DatabaseDescriptor.java -- diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index bf793be..31e0b5a 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -407,15 +407,6 @@ public class DatabaseDescriptor if (conf.concurrent_compactors = 0) throw new ConfigurationException(concurrent_compactors should be strictly greater than 0); -if (conf.compaction_throughput_mb_per_sec == null) -conf.compaction_throughput_mb_per_sec = 16; - -if (conf.rpc_min_threads == null) -conf.rpc_min_threads = 16; - -if (conf.rpc_max_threads == null) -conf.rpc_max_threads = Integer.MAX_VALUE; - /* data file and commit log directories. they get created later, when they're needed. */ if (conf.commitlog_directory != null conf.data_file_directories != null conf.saved_caches_directory != null) {
[3/5] git commit: cleanup
cleanup Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2ab0c720 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2ab0c720 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2ab0c720 Branch: refs/heads/trunk Commit: 2ab0c720f800292fc705f277b90097f6d0b16f26 Parents: 9f18611 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 01:39:24 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 01:42:02 2013 -0500 -- src/java/org/apache/cassandra/config/Config.java |4 ++-- .../cassandra/config/DatabaseDescriptor.java |9 - 2 files changed, 2 insertions(+), 11 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/2ab0c720/src/java/org/apache/cassandra/config/Config.java -- diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 780eaac..5061042 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -84,8 +84,8 @@ public class Config public Integer rpc_port = 9160; public String rpc_server_type = sync; public Boolean rpc_keepalive = true; -public Integer rpc_min_threads = null; -public Integer rpc_max_threads = null; +public Integer rpc_min_threads = 16; +public Integer rpc_max_threads = Integer.MAX_VALUE; public Integer rpc_send_buff_size_in_bytes; public Integer rpc_recv_buff_size_in_bytes; public Integer internode_send_buff_size_in_bytes; http://git-wip-us.apache.org/repos/asf/cassandra/blob/2ab0c720/src/java/org/apache/cassandra/config/DatabaseDescriptor.java -- diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index bf793be..31e0b5a 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -407,15 +407,6 @@ public class DatabaseDescriptor if (conf.concurrent_compactors = 0) throw new ConfigurationException(concurrent_compactors should be strictly greater than 0); -if (conf.compaction_throughput_mb_per_sec == null) -conf.compaction_throughput_mb_per_sec = 16; - -if (conf.rpc_min_threads == null) -conf.rpc_min_threads = 16; - -if (conf.rpc_max_threads == null) -conf.rpc_max_threads = Integer.MAX_VALUE; - /* data file and commit log directories. they get created later, when they're needed. */ if (conf.commitlog_directory != null conf.data_file_directories != null conf.saved_caches_directory != null) {
[1/5] git commit: Change default stream throughput from 400 to 200 mbps patch by Alexey Zotov; reviewed by Marcus Eriksson for CASSANDRA-5036
Updated Branches: refs/heads/cassandra-1.2 0d51a5464 - 2ab0c720f refs/heads/trunk 8744c04d3 - 1137f989b Change default stream throughput from 400 to 200 mbps patch by Alexey Zotov; reviewed by Marcus Eriksson for CASSANDRA-5036 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/9f186117 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/9f186117 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/9f186117 Branch: refs/heads/cassandra-1.2 Commit: 9f18611775fc6c277ec1521d0bcd084bda4498ef Parents: 0d51a54 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 01:38:37 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 01:41:59 2013 -0500 -- CHANGES.txt|1 + conf/cassandra.yaml|4 ++-- src/java/org/apache/cassandra/config/Config.java |2 +- .../cassandra/config/DatabaseDescriptor.java |3 --- 4 files changed, 4 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index c9bc5d7..945b64d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 1.2.4 + * Change default stream throughput from 400 to 200 mbps (CASSANDRA-5036) * Gossiper logs DOWN for symmetry with UP (CASSANDRA-5187) * Fix mixing prepared statements between keyspaces (CASSANDRA-5352) * Fix consistency level during bootstrap - strike 3 (CASSANDRA-5354) http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/conf/cassandra.yaml -- diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml index 178487d..76e5901 100644 --- a/conf/cassandra.yaml +++ b/conf/cassandra.yaml @@ -477,8 +477,8 @@ compaction_preheat_key_cache: true # given total throughput in Mbps. This is necessary because Cassandra does # mostly sequential IO when streaming data during bootstrap or repair, which # can lead to saturating the network connection and degrading rpc performance. -# When unset, the default is 400 Mbps or 50 MB/s. -# stream_throughput_outbound_megabits_per_sec: 400 +# When unset, the default is 200 Mbps or 25 MB/s. +# stream_throughput_outbound_megabits_per_sec: 200 # How long the coordinator should wait for read operations to complete read_request_timeout_in_ms: 1 http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/src/java/org/apache/cassandra/config/Config.java -- diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 212147a..780eaac 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -110,7 +110,7 @@ public class Config public Integer max_streaming_retries = 3; -public volatile Integer stream_throughput_outbound_megabits_per_sec; +public volatile Integer stream_throughput_outbound_megabits_per_sec = 200; public String[] data_file_directories; http://git-wip-us.apache.org/repos/asf/cassandra/blob/9f186117/src/java/org/apache/cassandra/config/DatabaseDescriptor.java -- diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index 5fcef07..bf793be 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -410,9 +410,6 @@ public class DatabaseDescriptor if (conf.compaction_throughput_mb_per_sec == null) conf.compaction_throughput_mb_per_sec = 16; -if (conf.stream_throughput_outbound_megabits_per_sec == null) -conf.stream_throughput_outbound_megabits_per_sec = 400; - if (conf.rpc_min_threads == null) conf.rpc_min_threads = 16;
[jira] [Resolved] (CASSANDRA-5036) Wrong description of 'setstreamthroughput' option
[ https://issues.apache.org/jira/browse/CASSANDRA-5036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-5036. --- Resolution: Fixed Reviewer: krummas Assignee: Alexey Zotov (was: Marcus Eriksson) committed Wrong description of 'setstreamthroughput' option - Key: CASSANDRA-5036 URL: https://issues.apache.org/jira/browse/CASSANDRA-5036 Project: Cassandra Issue Type: Bug Components: Config, Documentation website Affects Versions: 1.1.6 Environment: Cassandra 1.1.6 (DataStax distribution) Reporter: Alexey Zotov Assignee: Alexey Zotov Priority: Trivial There is a typo in description of 'setstreamthroughput' option. It is measured in megabits per second. Page with wrong description: http://www.datastax.com/docs/1.1/references/nodetool#nodetool-setstreamthroughput Page with right description: http://www.datastax.com/docs/1.1/configuration/node_configuration#stream-throughput-outbound-megabits-per-sec Also I want to discuss possibility to reduce default value for this option. I think that 400 Mbs is too high for common cases. Preface: This option is used only in case streams. There are two cases when streams are actual. They are rebuilding of a node and repair process. Let's skip first case and will talk only about the second. Let's imagine that we have replication factor 3. Cross-datacenter connectivity case: When we start repair process it will borrow all network channel. Let's do some calculations. You start repair on an one node, e.g. 5 node (3 remote and 2 local) should send us some data. Note that 3 of them are from remote datacenter. So 400 * 3 = 1,2 Gbs we should receive through WAN. I'm sure that it's too high. I suggest to make it 2 times less. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5036) Wrong description of 'setstreamthroughput' option
[ https://issues.apache.org/jira/browse/CASSANDRA-5036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5036: -- Fix Version/s: 1.2.4 Wrong description of 'setstreamthroughput' option - Key: CASSANDRA-5036 URL: https://issues.apache.org/jira/browse/CASSANDRA-5036 Project: Cassandra Issue Type: Bug Components: Config, Documentation website Affects Versions: 1.1.6 Environment: Cassandra 1.1.6 (DataStax distribution) Reporter: Alexey Zotov Assignee: Alexey Zotov Priority: Trivial Fix For: 1.2.4 There is a typo in description of 'setstreamthroughput' option. It is measured in megabits per second. Page with wrong description: http://www.datastax.com/docs/1.1/references/nodetool#nodetool-setstreamthroughput Page with right description: http://www.datastax.com/docs/1.1/configuration/node_configuration#stream-throughput-outbound-megabits-per-sec Also I want to discuss possibility to reduce default value for this option. I think that 400 Mbs is too high for common cases. Preface: This option is used only in case streams. There are two cases when streams are actual. They are rebuilding of a node and repair process. Let's skip first case and will talk only about the second. Let's imagine that we have replication factor 3. Cross-datacenter connectivity case: When we start repair process it will borrow all network channel. Let's do some calculations. You start repair on an one node, e.g. 5 node (3 remote and 2 local) should send us some data. Note that 3 of them are from remote datacenter. So 400 * 3 = 1,2 Gbs we should receive through WAN. I'm sure that it's too high. I suggest to make it 2 times less. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests
[ https://issues.apache.org/jira/browse/CASSANDRA-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Eriksson updated CASSANDRA-5242: --- Attachment: 0001-CASSANDRA-5242.patch patch against 1.1 Directories.migrateFile() does not handle -old or -tmp LDB manifests - Key: CASSANDRA-5242 URL: https://issues.apache.org/jira/browse/CASSANDRA-5242 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.9, 1.2.0 Reporter: amorton Assignee: Marcus Eriksson Priority: Minor Fix For: 1.1.11 Attachments: 0001-CASSANDRA-5242.patch During LDB compaction a -old.json file is created with the previous manifest. Directories.migrateFile() only checks for the .json extension and uses the length to determine the CF name. This can result in the -old.json manifest getting copied to a CF-old directory in the new layout. see http://www.mail-archive.com/user@cassandra.apache.org/msg27583.html for an example -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-5379) Do not deliver hints older than a configured age
[ https://issues.apache.org/jira/browse/CASSANDRA-5379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amorton resolved CASSANDRA-5379. Resolution: Implemented Works for me. I was looking at hint delivery not where they were written. Do not deliver hints older than a configured age Key: CASSANDRA-5379 URL: https://issues.apache.org/jira/browse/CASSANDRA-5379 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 1.2.3 Reporter: amorton Priority: Minor From http://www.mail-archive.com/user@cassandra.apache.org/msg28682.html There exists a possibility for a hinted insert created before a delete to be delivered after a tombstone that would have covered the insert is purged. I don't think it's very likely but it's possible. Could we filter the RowMutation to remove CF's where the gc_grace is less than the age of the hint? Or add a config property for a max_hint_age? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of LeavJacob by LeavJacob
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The LeavJacob page has been changed by LeavJacob: http://wiki.apache.org/cassandra/LeavJacob New page: Hey all fellow http://wiki.apache.org members : I am Jame I try to make time in my own busy schedule for fashion boutiques in essex mainly because it will help me loosen up and get my mind off work.BR Not long ago I started out a blog website also so if you wish to find out more of my posts then sign up for the RSSBR My Blog Site - [[http://ukbusiness.hpage.co.in/|Read ukbusiness.hpage.co.in]]
git commit: Rebuild BF when loading sstables if bloom_filter_fp_chance has changed since compaction
Updated Branches: refs/heads/trunk 1137f989b - ac965a60e Rebuild BF when loading sstables if bloom_filter_fp_chance has changed since compaction patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for CASSANDRA-5015 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ac965a60 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ac965a60 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ac965a60 Branch: refs/heads/trunk Commit: ac965a60eeb931d0d97346157004681d76e2a0d6 Parents: 1137f98 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 13:20:27 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 13:20:27 2013 +0300 -- CHANGES.txt|2 + .../apache/cassandra/io/sstable/Descriptor.java|3 + .../org/apache/cassandra/io/sstable/SSTable.java |2 - .../cassandra/io/sstable/SSTableMetadata.java | 48 +--- .../apache/cassandra/io/sstable/SSTableReader.java | 59 +- .../apache/cassandra/io/sstable/SSTableWriter.java |3 +- .../io/sstable/SSTableMetadataSerializerTest.java |3 +- 7 files changed, 85 insertions(+), 35 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/ac965a60/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index 1ff9fe9..3a352fb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -20,6 +20,8 @@ * Remove memory emergency pressure valve logic (CASSANDRA-3534) * Reduce request latency with eager retry (CASSANDRA-4705) * cqlsh: Remove ASSUME command (CASSANDRA-5331) + * Rebuild BF when loading sstables if bloom_filter_fp_chance + has changed since compaction (CASSANDRA-5015) 1.2.4 http://git-wip-us.apache.org/repos/asf/cassandra/blob/ac965a60/src/java/org/apache/cassandra/io/sstable/Descriptor.java -- diff --git a/src/java/org/apache/cassandra/io/sstable/Descriptor.java b/src/java/org/apache/cassandra/io/sstable/Descriptor.java index e2c7d8b..2d1b510 100644 --- a/src/java/org/apache/cassandra/io/sstable/Descriptor.java +++ b/src/java/org/apache/cassandra/io/sstable/Descriptor.java @@ -71,6 +71,7 @@ public class Descriptor // a major version bump however, because we should not allow streaming of super columns // into this new format) // tracks max local deletiontime in sstable metadata +// records bloom_filter_fp_chance in metadata component public static final Version CURRENT = new Version(current_version); @@ -92,6 +93,7 @@ public class Descriptor public final boolean hasAncestors; public final boolean hasSuperColumns; public final boolean tracksMaxLocalDeletionTime; +public final boolean hasBloomFilterFPChance; public Version(String version) { @@ -117,6 +119,7 @@ public class Descriptor else filterType = FilterFactory.Type.MURMUR3; hasSuperColumns = version.compareTo(ja) 0; +hasBloomFilterFPChance = version.compareTo(ja) = 0; } /** http://git-wip-us.apache.org/repos/asf/cassandra/blob/ac965a60/src/java/org/apache/cassandra/io/sstable/SSTable.java -- diff --git a/src/java/org/apache/cassandra/io/sstable/SSTable.java b/src/java/org/apache/cassandra/io/sstable/SSTable.java index 25738d0..f5786cf 100644 --- a/src/java/org/apache/cassandra/io/sstable/SSTable.java +++ b/src/java/org/apache/cassandra/io/sstable/SSTable.java @@ -63,8 +63,6 @@ public abstract class SSTable public static final String COMPONENT_FILTER = Component.Type.FILTER.repr; public static final String COMPONENT_STATS = Component.Type.STATS.repr; public static final String COMPONENT_DIGEST = Component.Type.DIGEST.repr; -public static final String COMPONENT_CRC = Component.Type.CRC.repr; -public static final String COMPONENT_SUMMARY = Component.Type.SUMMARY.repr; public static final String TEMPFILE_MARKER = tmp; http://git-wip-us.apache.org/repos/asf/cassandra/blob/ac965a60/src/java/org/apache/cassandra/io/sstable/SSTableMetadata.java -- diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableMetadata.java b/src/java/org/apache/cassandra/io/sstable/SSTableMetadata.java index e7a4534..28a6485 100644 --- a/src/java/org/apache/cassandra/io/sstable/SSTableMetadata.java +++ b/src/java/org/apache/cassandra/io/sstable/SSTableMetadata.java @@ -36,6 +36,7 @@ import
[Cassandra Wiki] Trivial Update of Edwin1850 by Edwin1850
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The Edwin1850 page has been changed by Edwin1850: http://wiki.apache.org/cassandra/Edwin1850 New page: Hey guys !! I am BENNIE SPARKS. I am from McHenry.BR BR I might take night schooling in The Direct Finishing School situated in Fort Collins. My papa name is Boyd and he is a Police officer. My mother is a Speech Therapist.BR BR Feel free to surf to my webpage; [[http://www.porthermesbirkin.com|hermes bag]]
[Cassandra Wiki] Trivial Update of LynetteMo by LynetteMo
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The LynetteMo page has been changed by LynetteMo: http://wiki.apache.org/cassandra/LynetteMo New page: Hello !! The name is ANDRE ESPINOZA. I am from Elizabeth.BR I and my sister go to The Serious Institute which has a branch in Greenville. My dad name is Gregory and he is a Occupational Therapist. My mom is a Hairdesser.BR BR Take a look at my site [[http://www.porthermesbirkin.com|hermes outlet]]
[Cassandra Wiki] Trivial Update of PearleneR by PearleneR
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The PearleneR page has been changed by PearleneR: http://wiki.apache.org/cassandra/PearleneR New page: Enable me very first start off by introducing myself.BR My identify is Garfield although it is not the title on my start certificate. Missouri is where we have been living for many years but I will have to move in a yr or two. My task is a dentist but before long my wife and I will begin our possess organization. To drive is something I will in no way give up.BR BR BR Feel free to surf to my site - [[http://goldslipper.com/nibble/search.php?q=MIRACLE+SUITES+RESORT+PATTAYA+THAILAND+2011|South Pattaya Hotels Rates]]
[Cassandra Wiki] Trivial Update of ValeriaDa by ValeriaDa
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The ValeriaDa page has been changed by ValeriaDa: http://wiki.apache.org/cassandra/ValeriaDa New page: Along with qualified awareness, s tough firm foundation, g powerful perform ability, to set in advance their unique opinions in neuro-scientific high quality.BR owzxgz Human being dependability, lovely, industrious and sensible, robust flexibility and even working together ability, a sense of celcveletu accountability as well as feeling of legal, enjoy typically the n collective, public-spirited projects, tl to stick to this basic principle connected with complete state of affairs, need to be able to undergo all the collective interests, contain the fcr motivationBR BR my web page :: [[http://www.beatchanelhandbags.com|chanel handbags]]
[Cassandra Wiki] Trivial Update of CletaLuk by CletaLuk
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The CletaLuk page has been changed by CletaLuk: http://wiki.apache.org/cassandra/CletaLuk New page: My name: Cleta FritzBR Age: 19BR Country: Great BritainBR Town: Ballacannell BR Post code: IM4 6NNBR Street: 55 Glenurquhart RoadBR BR Take a look at my website: [[http://kiwipd.altervista.org/php5/index.php?title=Utente:AOJDaniel|simply click the following web site]]
[jira] [Resolved] (CASSANDRA-4966) Bug in cassandra-cli parser
[ https://issues.apache.org/jira/browse/CASSANDRA-4966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko resolved CASSANDRA-4966. -- Resolution: Won't Fix 'describe cluster' is somehow being mixed up with 'show cluster name' when parsing, and I don't see a quick way to fix it. Bug in cassandra-cli parser --- Key: CASSANDRA-4966 URL: https://issues.apache.org/jira/browse/CASSANDRA-4966 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.6 Reporter: Jeremiah Jordan Assignee: Aleksey Yeschenko Priority: Trivial describe clusterenter ;enter Doesn't work: [default@unknown] describe cluster ... ; Syntax error at position 17: mismatched character ';' expecting 'N' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-5052: - Attachment: 5052.txt cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests
[ https://issues.apache.org/jira/browse/CASSANDRA-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Eriksson updated CASSANDRA-5242: --- Attachment: 0001-CASSANDRA-5242-v2.patch didnt read title properly it seems, this handles -tmp files as well Directories.migrateFile() does not handle -old or -tmp LDB manifests - Key: CASSANDRA-5242 URL: https://issues.apache.org/jira/browse/CASSANDRA-5242 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.9, 1.2.0 Reporter: amorton Assignee: Marcus Eriksson Priority: Minor Fix For: 1.1.11 Attachments: 0001-CASSANDRA-5242.patch, 0001-CASSANDRA-5242-v2.patch During LDB compaction a -old.json file is created with the previous manifest. Directories.migrateFile() only checks for the .json extension and uses the length to determine the CF name. This can result in the -old.json manifest getting copied to a CF-old directory in the new layout. see http://www.mail-archive.com/user@cassandra.apache.org/msg27583.html for an example -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5075) CQL Add support for AS keyword in select
[ https://issues.apache.org/jira/browse/CASSANDRA-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612099#comment-13612099 ] Aleksey Yeschenko commented on CASSANDRA-5075: -- Shouldn't be hard to implement, but will be nice to have (to override blobAsType()-converted column names in result sets, for example). CQL Add support for AS keyword in select Key: CASSANDRA-5075 URL: https://issues.apache.org/jira/browse/CASSANDRA-5075 Project: Cassandra Issue Type: Improvement Components: API Reporter: Alexandr Kulik Priority: Minor It would be nice to have support of AS keyword in select statement. It would allow to use jpa frameworks without writing custom sql/cql's. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of MelodyGFF by MelodyGFF
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The MelodyGFF page has been changed by MelodyGFF: http://wiki.apache.org/cassandra/MelodyGFF New page: Since they can be cognizant of our own health requirements, fat loss factor review is usually picked that satisfy individuals needs.BR BR Unfortunately, this specific talent does not always are available obviously. [[http://www.healthreviewscam.com/truth-about-cellulite-review/|joey atlas]] Each consumer have to take the time being alert to how the acne no more review human body functions along with what fat loss factor review enable individuals functions to come about.
[jira] [Commented] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612103#comment-13612103 ] Jonathan Ellis commented on CASSANDRA-5052: --- Why does underscore cause trouble? cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5242) Directories.migrateFile() does not handle -old or -tmp LDB manifests
[ https://issues.apache.org/jira/browse/CASSANDRA-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5242: -- Reviewer: amorton Can you review, [~amorton]? Directories.migrateFile() does not handle -old or -tmp LDB manifests - Key: CASSANDRA-5242 URL: https://issues.apache.org/jira/browse/CASSANDRA-5242 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.9, 1.2.0 Reporter: amorton Assignee: Marcus Eriksson Priority: Minor Fix For: 1.1.11 Attachments: 0001-CASSANDRA-5242.patch, 0001-CASSANDRA-5242-v2.patch During LDB compaction a -old.json file is created with the previous manifest. Directories.migrateFile() only checks for the .json extension and uses the length to determine the CF name. This can result in the -old.json manifest getting copied to a CF-old directory in the new layout. see http://www.mail-archive.com/user@cassandra.apache.org/msg27583.html for an example -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5075) CQL Add support for AS keyword in select
[ https://issues.apache.org/jira/browse/CASSANDRA-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5075: -- Reviewer: slebresne Fix Version/s: 2.0 Assignee: Aleksey Yeschenko CQL Add support for AS keyword in select Key: CASSANDRA-5075 URL: https://issues.apache.org/jira/browse/CASSANDRA-5075 Project: Cassandra Issue Type: Improvement Components: API Reporter: Alexandr Kulik Assignee: Aleksey Yeschenko Priority: Minor Fix For: 2.0 It would be nice to have support of AS keyword in select statement. It would allow to use jpa frameworks without writing custom sql/cql's. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612105#comment-13612105 ] Aleksey Yeschenko commented on CASSANDRA-5052: -- bq. Why does underscore cause trouble? Because names starting with '_' cannot be identifiers (identifiers can contain '_', but not in the beginning) and must be quoted. cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-5154) Gossip sends removed node which causes restarted nodes to constantly create new threads
[ https://issues.apache.org/jira/browse/CASSANDRA-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams resolved CASSANDRA-5154. - Resolution: Cannot Reproduce I'm convinced there's a clock problem here. Gossip sends removed node which causes restarted nodes to constantly create new threads --- Key: CASSANDRA-5154 URL: https://issues.apache.org/jira/browse/CASSANDRA-5154 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.7 Environment: centos 6, JVM 1.6.0_37 Reporter: Mariusz Gronczewski Assignee: Brandon Williams Priority: Minor Our cassandra cluster had 14 nodes but it was mostly idle so about 2 weeks ago we removed 3 of them (via standard decommision) moved tokens to balance load. Since then no node was restarted but last week after restarting 2 of them we observed that both of them spawn threads ( WRITE-/1.2.3.4 where 1.2.3.4 is one of removed nodes IPs ) till they hit limit ( which is 800 on our system) and then cassandra dies. Not restarted nodes do not do that. There are no outgoing connections to those dead nodes I noticed dead nodes are still in nodetool gossipinfo on non-restarted nodes but not on restarted ones so it seems they are not propertly removed from gossip. Would rolling restart work for fixing this or is full cluster stop-start required ? trace from hanging threads: {code} WRITE-/1.2.3.4 daemon prio=10 tid=0x7f5fe8194000 nid=0x2fb2 waiting on condition [0x7f6020de] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for 0x0007536a1160 (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399) at org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:104) {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612105#comment-13612105 ] Aleksey Yeschenko edited comment on CASSANDRA-5052 at 3/24/13 2:36 PM: --- bq. Why does underscore cause trouble? Because names starting with _ cannot be identifiers (identifiers can contain _, but not in the beginning) and must be quoted. was (Author: iamaleksey): bq. Why does underscore cause trouble? Because names starting with '_' cannot be identifiers (identifiers can contain '_', but not in the beginning) and must be quoted. cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of LeiaZtq by LeiaZtq
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The LeiaZtq page has been changed by LeiaZtq: http://wiki.apache.org/cassandra/LeiaZtq New page: Hello there everybody! In to Zef Dnbvz ( right here along with publish your company name).BR ovlgi Tried a whole lot of colorful the child years dream, because a Scq Qwsow can be your 1 aspiration I've a goal, that may be Let me become a Bms Psqyd, well, i like blue in addition to components, them connotes me personally in order to take off to your sky. This peak Dvd Kafpn, happens to be an introvert, and so i for instance analyzing an array of courses, such as, as expected, Irrrm a sucker for XX, I do not understand whether or not there are yet another I appreciate approximately loss of life, typically the typical regarding oldies during toon! I really like floating around on the seashore regarding catalogs, right here equally surpassed when i i do hope you have a similar interest.BR BR Own thorough attraction of this most significant benefits is useful, We carry out usual heated digestive system, should subsequently a person with complexity, given that I'm able to allow you to, even though says, I cannot not allow below almost any instances!BR ! Accommodating and additionally warmhearted to be able to speak to ever again right, I actually this person get on adequately, you will receive to know everybody. Ha-ha. For me personally, quite possibly the most like cold months, no distinct reason for them, the fall also nlxke unhappy, at the same time cozy with summer months, however , spring season is simply too delicate cold weather, even better, involving the a number of, tend to make an individual comfortable, make the human being aftertaste.BR . I like winter time plum proud, indomitable high quality is actually this study target, I just probab snowflakes insist, to have desire to to be able to walk forth courageously.BR BR For sure, I most really likes foods are our mommy, the girl capabilities are certainly excellent, does an individual eat food abdomen start, state Liuxiang, My partner and i invite you in to incorporate all of our client, make sure dwelling turn out to be excessive within honor.BR BR BR It is everybody, a happy guy, the beneficial man, an ingenious and additionally manner in my experience.BR BR These days, I actually stay at home center of the scholars. As i did, and all individuals eager to increase to make sure you great levels, need to have the more expensive expansion spot at some point, make complete engage in for their creativity as well as the better world.BR vtgfrnknip In my opinion, you will find expansion will probably collect and store. Launched, by every single teacher's love towards xbsuw coaching, we will have a very good bright future.BR BR My website: [[http://www.diggbeatsbydre.com|dre beats headphones]]
git commit: fix LCST better patch by Marcus Eriksson
Updated Branches: refs/heads/trunk ac965a60e - dda7b2b43 fix LCST better patch by Marcus Eriksson Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/dda7b2b4 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/dda7b2b4 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/dda7b2b4 Branch: refs/heads/trunk Commit: dda7b2b432c94f4a7040f935a9faf746cd208d5b Parents: ac965a6 Author: Jonathan Ellis jbel...@apache.org Authored: Sun Mar 24 09:48:31 2013 -0500 Committer: Jonathan Ellis jbel...@apache.org Committed: Sun Mar 24 09:48:48 2013 -0500 -- .../compaction/LeveledCompactionStrategyTest.java | 21 --- 1 files changed, 11 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/dda7b2b4/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java -- diff --git a/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java b/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java index 89d97c9..4e46719 100644 --- a/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java +++ b/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java @@ -161,15 +161,19 @@ public class LeveledCompactionStrategyTest extends SchemaLoader store.forceBlockingFlush(); } +store.disableAutoCompaction(); LeveledCompactionStrategy strat = (LeveledCompactionStrategy)store.getCompactionStrategy(); - while (strat.getLevelSize(0) 1) { store.forceMajorCompaction(); Thread.sleep(200); } + SetSSTableReader changedSSTables = new HashSetSSTableReader(); -for (SSTableReader s : table.getColumnFamilyStore(cfname).getSSTables()) +CollectionSSTableReader sstables = store.getDataTracker().getUncompactingSSTables(); +store.getDataTracker().markCompacting(sstables); // dont touch my sstables! +// change sstable level on all current sstables +for (SSTableReader s : sstables) { assertTrue(s.getSSTableLevel() != 6); strat.manifest.remove(s); @@ -178,19 +182,16 @@ public class LeveledCompactionStrategyTest extends SchemaLoader changedSSTables.add(s); strat.manifest.add(s); } - +// verify that all sstables in the changed set is level 6 for(SSTableReader s : table.getColumnFamilyStore(cfname).getSSTables()) { -assertTrue(!changedSSTables.contains(s) || s.getSSTableLevel() == 6); +if (changedSSTables.contains(s)) +assertTrue(s.getSSTableLevel() == 6); } int [] levels = strat.manifest.getAllLevelSize(); - -for (int i =0; i levels.length; i++) -{ -if (i == 6) - assertEquals(table.getColumnFamilyStore(cfname).getSSTables().size(), levels[i]); -} +// verify that the manifest has correct amount of sstables +assertEquals(changedSSTables.size(), levels[6]); }
[jira] [Commented] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612112#comment-13612112 ] Jonathan Ellis commented on CASSANDRA-5052: --- +1 cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
git commit: cli: Quote ks and cf names in schema output when needed
Updated Branches: refs/heads/cassandra-1.1 426041368 - fa29f412b cli: Quote ks and cf names in schema output when needed patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/fa29f412 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/fa29f412 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/fa29f412 Branch: refs/heads/cassandra-1.1 Commit: fa29f412b1b1790fe46e60c903471e9271611db1 Parents: 4260413 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 17:57:36 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 17:57:36 2013 +0300 -- CHANGES.txt |1 + src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 10 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index b4fdd1d..010bdc0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ * cqlsh: Add inet type support on Windows (ipv4-only) (CASSANDRA-4801) * Fix race when initializing ColumnFamilyStore (CASSANDRA-5350) * Add UseTLAB JVM flag (CASSANDRA-5361) + * cli: Quote ks and cf names in schema output when needed (CASSANDRA-5052) 1.1.10 http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliClient.java -- diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java index a7e8d92..0f97b7f 100644 --- a/src/java/org/apache/cassandra/cli/CliClient.java +++ b/src/java/org/apache/cassandra/cli/CliClient.java @@ -1659,7 +1659,7 @@ public class CliClient */ private void showKeyspace(PrintStream output, KsDef ksDef) { -output.append(create keyspace ).append(ksDef.name); +output.append(create keyspace ).append(CliUtils.maybeEscapeName(ksDef.name)); writeAttr(output, true, placement_strategy, normaliseType(ksDef.strategy_class, org.apache.cassandra.locator)); @@ -1682,7 +1682,7 @@ public class CliClient output.append(;).append(NEWLINE); output.append(NEWLINE); -output.append(use + ksDef.name + ;); +output.append(use + CliUtils.maybeEscapeName(ksDef.name) + ;); output.append(NEWLINE); output.append(NEWLINE); @@ -1701,7 +1701,7 @@ public class CliClient */ private void showColumnFamily(PrintStream output, CfDef cfDef) { -output.append(create column family ).append(CliUtils.escapeSQLString(cfDef.name)); +output.append(create column family ).append(CliUtils.maybeEscapeName(cfDef.name)); writeAttr(output, true, column_type, cfDef.column_type); writeAttr(output, false, comparator, normaliseType(cfDef.comparator_type, org.apache.cassandra.db.marshal)); http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index a8e883b..fd1bd40 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -50,6 +50,12 @@ public class CliUtils // single quotes are not escaped in java, need to be for cli return StringEscapeUtils.escapeJava(b).replace(\', \\'); } + +public static String maybeEscapeName(String name) +{ +return name.charAt(0) == '_' ? \' + name + \' : name; +} + /** * Returns IndexOperator from string representation * @param operator - string representing IndexOperator (=, =, , , =)
[2/2] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2
Merge branch 'cassandra-1.1' into cassandra-1.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/08e7f4c1 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/08e7f4c1 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/08e7f4c1 Branch: refs/heads/cassandra-1.2 Commit: 08e7f4c144c1c4e0dbbad50d8676f889c4fb8aee Parents: 2ab0c72 fa29f41 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 17:59:58 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 18:02:19 2013 +0300 -- CHANGES.txt |2 ++ src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 11 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/CHANGES.txt -- diff --cc CHANGES.txt index 945b64d,010bdc0..7bf455c --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -1,40 -1,4 +1,42 @@@ -1.1.11 +1.2.4 + * Change default stream throughput from 400 to 200 mbps (CASSANDRA-5036) + * Gossiper logs DOWN for symmetry with UP (CASSANDRA-5187) + * Fix mixing prepared statements between keyspaces (CASSANDRA-5352) + * Fix consistency level during bootstrap - strike 3 (CASSANDRA-5354) + * Fix transposed arguments in AlreadyExistsException (CASSANDRA-5362) + * Improve asynchronous hint delivery (CASSANDRA-5179) + * Fix Guava dependency version (12.0 - 13.0.1) for Maven (CASSANDRA-5364) + * Validate that provided CQL3 collection value are 64K (CASSANDRA-5355) + * Change Kernel Page Cache skipping into row preheating (disabled by default) + (CASSANDRA-4937) ++Merged from 1.1: ++ * cli: Quote ks and cf names in schema output when needed (CASSANDRA-5052) + + +1.2.3 + * add check for sstable overlap within a level on startup (CASSANDRA-5327) + * replace ipv6 colons in jmx object names (CASSANDRA-5298, 5328) + * Avoid allocating SSTableBoundedScanner during repair when the range does + not intersect the sstable (CASSANDRA-5249) + * Don't lowercase property map keys (this breaks NTS) (CASSANDRA-5292) + * Fix composite comparator with super columns (CASSANDRA-5287) + * Fix insufficient validation of UPDATE queries against counter cfs + (CASSANDRA-5300) + * Fix PropertyFileSnitch default DC/Rack behavior (CASSANDRA-5285) + * Handle null values when executing prepared statement (CASSANDRA-5081) + * Add netty to pom dependencies (CASSANDRA-5181) + * Include type arguments in Thrift CQLPreparedResult (CASSANDRA-5311) + * Fix compaction not removing columns when bf_fp_ratio is 1 (CASSANDRA-5182) + * cli: Warn about missing CQL3 tables in schema descriptions (CASSANDRA-5309) + * Re-enable unknown option in replication/compaction strategies option for + backward compatibility (CASSANDRA-4795) + * Add binary protocol support to stress (CASSANDRA-4993) + * cqlsh: Fix COPY FROM value quoting and null handling (CASSANDRA-5305) + * Fix repair -pr for vnodes (CASSANDRA-5329) + * Relax CL for auth queries for non-default users (CASSANDRA-5310) + * Fix AssertionError during repair (CASSANDRA-5245) + * Don't announce migrations to pre-1.2 nodes (CASSANDRA-5334) +Merged from 1.1: * Update offline scrub for 1.0 - 1.1 directory structure (CASSANDRA-5195) * add tmp flag to Descriptor hashcode (CASSANDRA-4021) * fix logging of Found table data in data directories when only system tables http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/src/java/org/apache/cassandra/cli/CliClient.java -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/src/java/org/apache/cassandra/cli/CliUtils.java --
[1/2] git commit: cli: Quote ks and cf names in schema output when needed
Updated Branches: refs/heads/cassandra-1.2 2ab0c720f - 08e7f4c14 cli: Quote ks and cf names in schema output when needed patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/fa29f412 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/fa29f412 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/fa29f412 Branch: refs/heads/cassandra-1.2 Commit: fa29f412b1b1790fe46e60c903471e9271611db1 Parents: 4260413 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 17:57:36 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 17:57:36 2013 +0300 -- CHANGES.txt |1 + src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 10 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index b4fdd1d..010bdc0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ * cqlsh: Add inet type support on Windows (ipv4-only) (CASSANDRA-4801) * Fix race when initializing ColumnFamilyStore (CASSANDRA-5350) * Add UseTLAB JVM flag (CASSANDRA-5361) + * cli: Quote ks and cf names in schema output when needed (CASSANDRA-5052) 1.1.10 http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliClient.java -- diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java index a7e8d92..0f97b7f 100644 --- a/src/java/org/apache/cassandra/cli/CliClient.java +++ b/src/java/org/apache/cassandra/cli/CliClient.java @@ -1659,7 +1659,7 @@ public class CliClient */ private void showKeyspace(PrintStream output, KsDef ksDef) { -output.append(create keyspace ).append(ksDef.name); +output.append(create keyspace ).append(CliUtils.maybeEscapeName(ksDef.name)); writeAttr(output, true, placement_strategy, normaliseType(ksDef.strategy_class, org.apache.cassandra.locator)); @@ -1682,7 +1682,7 @@ public class CliClient output.append(;).append(NEWLINE); output.append(NEWLINE); -output.append(use + ksDef.name + ;); +output.append(use + CliUtils.maybeEscapeName(ksDef.name) + ;); output.append(NEWLINE); output.append(NEWLINE); @@ -1701,7 +1701,7 @@ public class CliClient */ private void showColumnFamily(PrintStream output, CfDef cfDef) { -output.append(create column family ).append(CliUtils.escapeSQLString(cfDef.name)); +output.append(create column family ).append(CliUtils.maybeEscapeName(cfDef.name)); writeAttr(output, true, column_type, cfDef.column_type); writeAttr(output, false, comparator, normaliseType(cfDef.comparator_type, org.apache.cassandra.db.marshal)); http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index a8e883b..fd1bd40 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -50,6 +50,12 @@ public class CliUtils // single quotes are not escaped in java, need to be for cli return StringEscapeUtils.escapeJava(b).replace(\', \\'); } + +public static String maybeEscapeName(String name) +{ +return name.charAt(0) == '_' ? \' + name + \' : name; +} + /** * Returns IndexOperator from string representation * @param operator - string representing IndexOperator (=, =, , , =)
[3/3] git commit: Merge branch 'cassandra-1.2' into trunk
Merge branch 'cassandra-1.2' into trunk Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/e1d60f61 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/e1d60f61 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/e1d60f61 Branch: refs/heads/trunk Commit: e1d60f6192fd0aaa2962e0753497097d96f95f0b Parents: dda7b2b 08e7f4c Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 18:04:50 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 18:05:50 2013 +0300 -- CHANGES.txt |3 ++- src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 11 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/e1d60f61/CHANGES.txt -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/e1d60f61/src/java/org/apache/cassandra/cli/CliClient.java --
[1/3] git commit: cli: Quote ks and cf names in schema output when needed
Updated Branches: refs/heads/trunk dda7b2b43 - e1d60f619 cli: Quote ks and cf names in schema output when needed patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/fa29f412 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/fa29f412 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/fa29f412 Branch: refs/heads/trunk Commit: fa29f412b1b1790fe46e60c903471e9271611db1 Parents: 4260413 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 17:57:36 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 17:57:36 2013 +0300 -- CHANGES.txt |1 + src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 10 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/CHANGES.txt -- diff --git a/CHANGES.txt b/CHANGES.txt index b4fdd1d..010bdc0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ * cqlsh: Add inet type support on Windows (ipv4-only) (CASSANDRA-4801) * Fix race when initializing ColumnFamilyStore (CASSANDRA-5350) * Add UseTLAB JVM flag (CASSANDRA-5361) + * cli: Quote ks and cf names in schema output when needed (CASSANDRA-5052) 1.1.10 http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliClient.java -- diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java index a7e8d92..0f97b7f 100644 --- a/src/java/org/apache/cassandra/cli/CliClient.java +++ b/src/java/org/apache/cassandra/cli/CliClient.java @@ -1659,7 +1659,7 @@ public class CliClient */ private void showKeyspace(PrintStream output, KsDef ksDef) { -output.append(create keyspace ).append(ksDef.name); +output.append(create keyspace ).append(CliUtils.maybeEscapeName(ksDef.name)); writeAttr(output, true, placement_strategy, normaliseType(ksDef.strategy_class, org.apache.cassandra.locator)); @@ -1682,7 +1682,7 @@ public class CliClient output.append(;).append(NEWLINE); output.append(NEWLINE); -output.append(use + ksDef.name + ;); +output.append(use + CliUtils.maybeEscapeName(ksDef.name) + ;); output.append(NEWLINE); output.append(NEWLINE); @@ -1701,7 +1701,7 @@ public class CliClient */ private void showColumnFamily(PrintStream output, CfDef cfDef) { -output.append(create column family ).append(CliUtils.escapeSQLString(cfDef.name)); +output.append(create column family ).append(CliUtils.maybeEscapeName(cfDef.name)); writeAttr(output, true, column_type, cfDef.column_type); writeAttr(output, false, comparator, normaliseType(cfDef.comparator_type, org.apache.cassandra.db.marshal)); http://git-wip-us.apache.org/repos/asf/cassandra/blob/fa29f412/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index a8e883b..fd1bd40 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -50,6 +50,12 @@ public class CliUtils // single quotes are not escaped in java, need to be for cli return StringEscapeUtils.escapeJava(b).replace(\', \\'); } + +public static String maybeEscapeName(String name) +{ +return name.charAt(0) == '_' ? \' + name + \' : name; +} + /** * Returns IndexOperator from string representation * @param operator - string representing IndexOperator (=, =, , , =)
[2/3] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2
Merge branch 'cassandra-1.1' into cassandra-1.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/08e7f4c1 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/08e7f4c1 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/08e7f4c1 Branch: refs/heads/trunk Commit: 08e7f4c144c1c4e0dbbad50d8676f889c4fb8aee Parents: 2ab0c72 fa29f41 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 17:59:58 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 18:02:19 2013 +0300 -- CHANGES.txt |2 ++ src/java/org/apache/cassandra/cli/CliClient.java |6 +++--- src/java/org/apache/cassandra/cli/CliUtils.java |6 ++ 3 files changed, 11 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/CHANGES.txt -- diff --cc CHANGES.txt index 945b64d,010bdc0..7bf455c --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -1,40 -1,4 +1,42 @@@ -1.1.11 +1.2.4 + * Change default stream throughput from 400 to 200 mbps (CASSANDRA-5036) + * Gossiper logs DOWN for symmetry with UP (CASSANDRA-5187) + * Fix mixing prepared statements between keyspaces (CASSANDRA-5352) + * Fix consistency level during bootstrap - strike 3 (CASSANDRA-5354) + * Fix transposed arguments in AlreadyExistsException (CASSANDRA-5362) + * Improve asynchronous hint delivery (CASSANDRA-5179) + * Fix Guava dependency version (12.0 - 13.0.1) for Maven (CASSANDRA-5364) + * Validate that provided CQL3 collection value are 64K (CASSANDRA-5355) + * Change Kernel Page Cache skipping into row preheating (disabled by default) + (CASSANDRA-4937) ++Merged from 1.1: ++ * cli: Quote ks and cf names in schema output when needed (CASSANDRA-5052) + + +1.2.3 + * add check for sstable overlap within a level on startup (CASSANDRA-5327) + * replace ipv6 colons in jmx object names (CASSANDRA-5298, 5328) + * Avoid allocating SSTableBoundedScanner during repair when the range does + not intersect the sstable (CASSANDRA-5249) + * Don't lowercase property map keys (this breaks NTS) (CASSANDRA-5292) + * Fix composite comparator with super columns (CASSANDRA-5287) + * Fix insufficient validation of UPDATE queries against counter cfs + (CASSANDRA-5300) + * Fix PropertyFileSnitch default DC/Rack behavior (CASSANDRA-5285) + * Handle null values when executing prepared statement (CASSANDRA-5081) + * Add netty to pom dependencies (CASSANDRA-5181) + * Include type arguments in Thrift CQLPreparedResult (CASSANDRA-5311) + * Fix compaction not removing columns when bf_fp_ratio is 1 (CASSANDRA-5182) + * cli: Warn about missing CQL3 tables in schema descriptions (CASSANDRA-5309) + * Re-enable unknown option in replication/compaction strategies option for + backward compatibility (CASSANDRA-4795) + * Add binary protocol support to stress (CASSANDRA-4993) + * cqlsh: Fix COPY FROM value quoting and null handling (CASSANDRA-5305) + * Fix repair -pr for vnodes (CASSANDRA-5329) + * Relax CL for auth queries for non-default users (CASSANDRA-5310) + * Fix AssertionError during repair (CASSANDRA-5245) + * Don't announce migrations to pre-1.2 nodes (CASSANDRA-5334) +Merged from 1.1: * Update offline scrub for 1.0 - 1.1 directory structure (CASSANDRA-5195) * add tmp flag to Descriptor hashcode (CASSANDRA-4021) * fix logging of Found table data in data directories when only system tables http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/src/java/org/apache/cassandra/cli/CliClient.java -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/08e7f4c1/src/java/org/apache/cassandra/cli/CliUtils.java --
buildbot failure in ASF Buildbot on cassandra-1.1
The Buildbot has detected a new failure on builder cassandra-1.1 while building cassandra. Full details are available at: http://ci.apache.org/builders/cassandra-1.1/builds/157 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: portunus_ubuntu Build Reason: scheduler Build Source Stamp: [branch cassandra-1.1] fa29f412b1b1790fe46e60c903471e9271611db1 Blamelist: Aleksey Yeschenko alek...@apache.org BUILD FAILED: failed shell sincerely, -The Buildbot
buildbot success in ASF Buildbot on cassandra-1.1
The Buildbot has detected a restored build on builder cassandra-1.1 while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/cassandra-1.1/builds/158 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: portunus_ubuntu Build Reason: forced: by IRC user driftx on channel #cassandra-dev: you cant be trusted Build Source Stamp: HEAD Blamelist: Build succeeded! sincerely, -The Buildbot
git commit: Follow-up to CASSANDRA-5052
Updated Branches: refs/heads/cassandra-1.1 fa29f412b - 0e0379005 Follow-up to CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0e037900 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0e037900 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0e037900 Branch: refs/heads/cassandra-1.1 Commit: 0e03790059e390fb58f45b8dc5e44e76f5e913d3 Parents: fa29f41 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 19:41:29 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 19:41:29 2013 +0300 -- src/java/org/apache/cassandra/cli/CliUtils.java |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/0e037900/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index fd1bd40..cf1e855 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -53,7 +53,7 @@ public class CliUtils public static String maybeEscapeName(String name) { -return name.charAt(0) == '_' ? \' + name + \' : name; +return Character.isLetter(name.charAt(0)) ? name : \' + name + \'; } /**
[1/2] git commit: Follow-up to CASSANDRA-5052
Updated Branches: refs/heads/cassandra-1.2 08e7f4c14 - 25f5afa67 Follow-up to CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0e037900 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0e037900 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0e037900 Branch: refs/heads/cassandra-1.2 Commit: 0e03790059e390fb58f45b8dc5e44e76f5e913d3 Parents: fa29f41 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 19:41:29 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 19:41:29 2013 +0300 -- src/java/org/apache/cassandra/cli/CliUtils.java |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/0e037900/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index fd1bd40..cf1e855 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -53,7 +53,7 @@ public class CliUtils public static String maybeEscapeName(String name) { -return name.charAt(0) == '_' ? \' + name + \' : name; +return Character.isLetter(name.charAt(0)) ? name : \' + name + \'; } /**
[2/2] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2
Merge branch 'cassandra-1.1' into cassandra-1.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/25f5afa6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/25f5afa6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/25f5afa6 Branch: refs/heads/cassandra-1.2 Commit: 25f5afa67748c83d4cbfc2298fde9e6e0b28c9a6 Parents: 08e7f4c 0e03790 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 19:42:37 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 19:42:37 2013 +0300 -- src/java/org/apache/cassandra/cli/CliUtils.java |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/25f5afa6/src/java/org/apache/cassandra/cli/CliUtils.java --
[1/3] git commit: Follow-up to CASSANDRA-5052
Updated Branches: refs/heads/trunk e1d60f619 - ffd7ee7c3 Follow-up to CASSANDRA-5052 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0e037900 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0e037900 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0e037900 Branch: refs/heads/trunk Commit: 0e03790059e390fb58f45b8dc5e44e76f5e913d3 Parents: fa29f41 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 19:41:29 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 19:41:29 2013 +0300 -- src/java/org/apache/cassandra/cli/CliUtils.java |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/0e037900/src/java/org/apache/cassandra/cli/CliUtils.java -- diff --git a/src/java/org/apache/cassandra/cli/CliUtils.java b/src/java/org/apache/cassandra/cli/CliUtils.java index fd1bd40..cf1e855 100644 --- a/src/java/org/apache/cassandra/cli/CliUtils.java +++ b/src/java/org/apache/cassandra/cli/CliUtils.java @@ -53,7 +53,7 @@ public class CliUtils public static String maybeEscapeName(String name) { -return name.charAt(0) == '_' ? \' + name + \' : name; +return Character.isLetter(name.charAt(0)) ? name : \' + name + \'; } /**
[2/3] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2
Merge branch 'cassandra-1.1' into cassandra-1.2 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/25f5afa6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/25f5afa6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/25f5afa6 Branch: refs/heads/trunk Commit: 25f5afa67748c83d4cbfc2298fde9e6e0b28c9a6 Parents: 08e7f4c 0e03790 Author: Aleksey Yeschenko alek...@apache.org Authored: Sun Mar 24 19:42:37 2013 +0300 Committer: Aleksey Yeschenko alek...@apache.org Committed: Sun Mar 24 19:42:37 2013 +0300 -- src/java/org/apache/cassandra/cli/CliUtils.java |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/25f5afa6/src/java/org/apache/cassandra/cli/CliUtils.java --
[jira] [Commented] (CASSANDRA-5052) cassandra-cli should escape keyspace name
[ https://issues.apache.org/jira/browse/CASSANDRA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612146#comment-13612146 ] Aleksey Yeschenko commented on CASSANDRA-5052: -- Followed up with 0e03790059e390fb58f45b8dc5e44e76f5e913d3 to give names starting with digits the same treatment. cassandra-cli should escape keyspace name - Key: CASSANDRA-5052 URL: https://issues.apache.org/jira/browse/CASSANDRA-5052 Project: Cassandra Issue Type: Bug Components: Tools Affects Versions: 1.1.7 Reporter: Leonid Shalupov Assignee: Aleksey Yeschenko Priority: Trivial Fix For: 1.1.11 Attachments: 5052.txt show schema yields use __someKeyspace, expecting use '__someKeyspace'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of VaughnLin by VaughnLin
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The VaughnLin page has been changed by VaughnLin: http://wiki.apache.org/cassandra/VaughnLin New page: Hi !! The name is BRIDGETT HURLEY. I belong to Oceanside.BR This april i will be 32. I have applied for distance learning at The Damp Academy located in Bristol. I work as a Usher. One day i would want to do Toy Collecting. My father name is Cary and he is a Recreational therapist. My momy is a Engine-driver.BR BR Feel free to visit my blog post; [[http://www.porthermesbirkin.com|hermes handbags]]
[Cassandra Wiki] Trivial Update of ELGDomini by ELGDomini
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The ELGDomini page has been changed by ELGDomini: http://wiki.apache.org/cassandra/ELGDomini New page: This spring iam going to be 26. I study at The Jovial Preparatory of Dreary Education in Asheville.BR I am planning to become a Secretary General. I like to do Classic Video Games. My daddy name is Ross and he is a Navigator. My momy is a Coachman.BR BR Review my webpage - [[http://chaneloutletz.webs.com|chanel purses]]
[Cassandra Wiki] Trivial Update of Monika642 by Monika642
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The Monika642 page has been changed by Monika642: http://wiki.apache.org/cassandra/Monika642 New page: I like to enjoy my youth and live my life. Education is power, and knowledge is what separates the wealthy from people who struggle.BR BR I believe it's a lot more rewarding to observe android tablet PC’s change the world, than watch it accumulate.BR BR Here is my site: [[http://www.androidtabletandroid.co.uk/news/?p=18|www.androidtabletandroid.co.uk]]
[Cassandra Wiki] Trivial Update of FaustoCot by FaustoCot
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The FaustoCot page has been changed by FaustoCot: http://wiki.apache.org/cassandra/FaustoCot New page: Hey fellas !! I am KYM VALDEZ. I belong to Irvine. This may i will be 46.BR I want to study at The Angry Finishing School built at Muskegon. I want to become a Gopher. I am a fan of Sailing. My father name is James and he is a Engine Fitter. My mummy is a Secretary.BR BR Stop by my homepage ... [[http://www.porthermesbirkin.com|hermes birkin replica]]
[Cassandra Wiki] Trivial Update of CarrollUF by CarrollUF
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The CarrollUF page has been changed by CarrollUF: http://wiki.apache.org/cassandra/CarrollUF New page: I am 20 years old and my name is Carroll Benitez. I life in Wiesenttal (Germany).BR BR BR my site; [[http://flupcommunity.de/index.php?do=/blog/154386/minecraft-hosting/|mouse click the following website page]]
[Cassandra Wiki] Trivial Update of AshleeTay by AshleeTay
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The AshleeTay page has been changed by AshleeTay: http://wiki.apache.org/cassandra/AshleeTay New page: My name is Ashlee Louis. My home is in Zuid-Beijerland (Netherlands).BR BR BR Here is my webpage - [[http://gamesactual.com/tag/xbox-360|http://gamesactual.com/]]
[Cassandra Wiki] Trivial Update of Lint2349 by Lint2349
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The Lint2349 page has been changed by Lint2349: http://wiki.apache.org/cassandra/Lint2349 New page: College or university carefully apart with nostalgia, Gu college or university, through the guide and also the lessons of their own very difficult investigation, I have got with success performed experienced instructional classes,, together with build a good practice of critical review plus perform!BR BR . Are able to hard-working, steadfast not to mention adhere to the rule cw about credibility together with integrity, this strength that will task ourselves in addition to build up their probable;BR Come up with an involved people, the process interest, so that you can very own goal to try and do those items you desire certainly towards pressure;BR Have a very good jpbj attitude, prepared to make contact with consumers, residing in communities, will be objectively strong interaction with others, potent company managing expertise in addition to a philosophy with association web-sites, have the ability to positively interact to succeed in staff goals and objectives;BR Be a master at learning, things to know together with pragmatism, assiduously, possess extensive awareness qiu and really abundant education, effective power to change, pp that will combine in a different arena inside of a period, to adjust to your ex as well as her to try and do;BR BR Look at my blog; [[http://www.portchanelbags.com|chanel bags]]
[Cassandra Wiki] Trivial Update of KirbyTurn by KirbyTurn
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The KirbyTurn page has been changed by KirbyTurn: http://wiki.apache.org/cassandra/KirbyTurn New page: Hey guys !! My name is BRITTA MILLS. I have a house in Miami.BR My age is 54. I might take night schooling in The Tremendous Prep School in Houston. I am planning to become a Entertainer. I am a fan of Composing Music. My daddy name is Sean and he is a Lady-in-waiting. My mom is a Financial analyst. kysvctjBR BR Here is my web page; [[http://www.justlouisvuittonoutlet.com|cheap louis vuitton handbags]]
[Cassandra Wiki] Trivial Update of lv_handbags_m1w4 by KirbyTurn
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The lv_handbags_m1w4 page has been changed by KirbyTurn: http://wiki.apache.org/cassandra/lv_handbags_m1w4 New page: People in mexico), coupled with winged a more substantial quantity [[http://www.beatbeatsbydre.com|monster beats by dre]]BR as to who your dog modestly forbore to help you number. Subsequently a woman [[http://www.justlouisvuittonoutlet.com|louis vuitton neverfull]] liked the dog.BR BR The child has been twenty-five, regarded 10; along with smart insurance agency could have determined that plausible duration of his particular ruin found at, say, twenty-six. His particular home was cover anything from all of the Frio additionally, the Rio Grande. He / she wiped out in the passion for it--because they ended up being quick-tempered-- avoiding arrest--for her own amusement--any believe reached his own mind could serve. He steered clear of grab as he might fire five-sixths of any moment before any specific police or simply ranger while in the program, and furthermore, as they rode your speckled roan horse which often recognized each and every cow-path through the mesquite and then pear thickets via San Antonio that will Matamoras.BR BR Tonia Perez, at least 18 who actually beloved all the Cisco Kids, is 1 / 2 Carmen, half Madonna, and the rest--oh, without a doubt, a lady who may be 50 % of Carmen plus about half Madonna should get a specific thing more--the rest, we will express, had been humming-bird. Your lady existed in the grass-roofed jacal in the vicinity of some Asian deal on the Main Hair Traversing of this Frio. Collectively stayed a parent or grandaddy, a real lineal Aztec, fairly less than a 1000 yr old, who seem to herded a great many goats and additionally stayed at a continuing drunk goal provided by consuming alcohol mescal. Back from the jacal an incredible plan regarding bristling pear, forty paws great on a hardest, populated just about to its home. It absolutely was along side staggering web of your spinous thicket the fact that the speckled roan would bring the baby to view his own girl. Just as soon as, adhering similar to a reptile towards ridge-pole, up high with the peaked type grass house, he previously seen Tonia, with her Madonna face not to mention Carmen great beauty and even humming-bird cardiovascular, parley considering the sheriff's posse, refusing understanding of the woman guy in their gentle melange about real spanish as well as Language.BR BR Some day all of the adjutant-general within the Express, who will be, ex boyfriend offico, commander of this ranger forces, composed a handful of mocking facial lines to Chief Duval with Corporation By, positioned at Laredo, compared to the actual calm and untouched presence headed simply by murderers not to mention desperadoes in the pointed out captain's area.BR BR The actual leader turned area with stone airborne dirt and dust using her tan, and sent out a mail, immediately after putting several opinions, per ranger Exclusive Charge Adamson, to make sure you ranger Lieutenant Sandridge, camped from a waters ditch within the Nueces which has a group of five individuals throughout efficiency associated with legal plus purchase.BR BR Lieutenant Sandridge switched a good looking couleur p flower by his particular every day blood tone, ended up this traditional within the thigh wallet, as well as chewed over closes for an individual's gamboge moustache.BR BR Next dawn the person stuck their equine plus rode on it's own into the Mexican agreement from the Lone Bad guy Crossing of one's Frio, 30 distance gone.BR BR Six to eight your feet several, blonde as a Viking, tranquil for a deacon, perilous like a equipment device, Sandridge changed associated with the Jacales, patiently in search of media of the 'cisco' Kids.BR BR Excess of legal requirements, any People in mexico darn any wintry and also a number of revenge for the only biker which the ranger found. It was one of many Kids' interests so that you can fire People in mexico to discover their whereabouts kick: in cases where the person ordered to provide at their store moribund Terpsichorean feats, simply he or she could possibly h
[jira] [Updated] (CASSANDRA-5306) Improve Dsnitch Severity
[ https://issues.apache.org/jira/browse/CASSANDRA-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-5306: - Attachment: 0001-5306.patch Attached patch uses IOWait when /proc/stats is available else it will be switch back to compaction load severity. I have not renamed to BGA yet should we do it in 2.0 instead? Improve Dsnitch Severity Key: CASSANDRA-5306 URL: https://issues.apache.org/jira/browse/CASSANDRA-5306 Project: Cassandra Issue Type: Improvement Reporter: Vijay Assignee: Vijay Priority: Minor Fix For: 1.2.4 Attachments: 0001-5306.patch This ticket is to continue the discussion in CASSANDRA-5255. Currently Dsnitch reports the Severity by calculating the amount of data compacting relative to load of the node. It will be nice to report Severity as a factor of load average, N/W Throughput and IO Wait instead. http://www.hyperic.com/products/sigar seem to have it (But personally i have not used it). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of SoonScull by SoonScull
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The SoonScull page has been changed by SoonScull: http://wiki.apache.org/cassandra/SoonScull New page: Yo guys !! I am ADELAIDE WILKINSON. I am staying at New York.BR I am 53. My school's name is The Genuine Military School of Tall Education built at Cathedral City. I have a job as Police officer. I am a fan of Magic. My father name is Ryan and he is a Matron. My momy is a Statistician. extyquaBR BR My web page ... [[http://en.yiqingyuan.com/cheapbeatsby.html|dre dre]]
[Cassandra Wiki] Trivial Update of MarianoCX by MarianoCX
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The MarianoCX page has been changed by MarianoCX: http://wiki.apache.org/cassandra/MarianoCX New page: Yo bros !! My name is SHARYN WALTER. I belong to Howell.BR This jan i will be 59. I study at The Sizable Finishing School located in Fontana. I am self employed as a Pilot. I am a fan of Flower Gardening. My father name is Joshua and he is a Test developer. My mummy is a Computer software engineer.BR BR My site ... [[http://www.porthermesbirkin.com|hermes bags]]
[jira] [Updated] (CASSANDRA-5306) Improve Dsnitch Severity
[ https://issues.apache.org/jira/browse/CASSANDRA-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-5306: - Attachment: (was: 0001-5306.patch) Improve Dsnitch Severity Key: CASSANDRA-5306 URL: https://issues.apache.org/jira/browse/CASSANDRA-5306 Project: Cassandra Issue Type: Improvement Reporter: Vijay Assignee: Vijay Priority: Minor Fix For: 1.2.4 Attachments: 0001-5306.patch This ticket is to continue the discussion in CASSANDRA-5255. Currently Dsnitch reports the Severity by calculating the amount of data compacting relative to load of the node. It will be nice to report Severity as a factor of load average, N/W Throughput and IO Wait instead. http://www.hyperic.com/products/sigar seem to have it (But personally i have not used it). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-5306) Improve Dsnitch Severity
[ https://issues.apache.org/jira/browse/CASSANDRA-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-5306: - Attachment: 0001-5306.patch Improve Dsnitch Severity Key: CASSANDRA-5306 URL: https://issues.apache.org/jira/browse/CASSANDRA-5306 Project: Cassandra Issue Type: Improvement Reporter: Vijay Assignee: Vijay Priority: Minor Fix For: 1.2.4 Attachments: 0001-5306.patch This ticket is to continue the discussion in CASSANDRA-5255. Currently Dsnitch reports the Severity by calculating the amount of data compacting relative to load of the node. It will be nice to report Severity as a factor of load average, N/W Throughput and IO Wait instead. http://www.hyperic.com/products/sigar seem to have it (But personally i have not used it). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[Cassandra Wiki] Trivial Update of PeterNIEE by PeterNIEE
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The PeterNIEE page has been changed by PeterNIEE: http://wiki.apache.org/cassandra/PeterNIEE New page: A individuality far more cheerful, right from freshman to regularly go out to connect with others VHKY out of numerous countries around the world, and try to keep in contact, decent connecting with people.BR BR Free time and a particular Asia summer time, part-time translation as well as box, run industry. ( your dog I have small business with Guangzhou ) even acquired them and even authorized family and friends, your attendees made a comeback residential, keep on WXWOY get in touch with me personally also.BR I personally meet the goods community more widely, paper, purses, leather-based, fixtures, scent ornaments, lamps and many more.,BR Self-learning power, capable at believing, hard-working, superior HSSJI verbal exchanges talents, proficient at gaining using some people, filled with staff style, love of competitive sports. Yet persons are never suitable, they still various BHV flaws, in most aspects like know-how, societal go through; but I imagine every one of these can as a result of their goals FIE to raise the learning, Furthermore, i will be moving in this particular direction!BR XYMUBR BR Feel free to surf to my web blog; [[http://www.blindchildrenscenter.org/cheapbeatsheadphones.html|beats headphone]]
[Cassandra Wiki] Trivial Update of GerardoME by GerardoME
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The GerardoME page has been changed by GerardoME: http://wiki.apache.org/cassandra/GerardoME New page: Got nothing to say about myself at all.BR Yes! Im a member of apache.org.BR I really hope Im useful in one way .BR BR Here is my blog post; [[http://www.4sinifingilizce.com/|4. sinif ingilizce testleri coz]]
[Cassandra Wiki] Trivial Update of RoyalVanh by RoyalVanh
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The RoyalVanh page has been changed by RoyalVanh: http://wiki.apache.org/cassandra/RoyalVanh New page: Senior account executive Gunnro Blixt likes fit training hockey, tombstone rubbing.BR Finally, he gets obtains practically all his stimulus by going on a holiday and visiting new places as for instance Bangladesh.BR [[http://www.newmichaelkorsclubs.com/|michael kors handbags sale]]
[Cassandra Wiki] Trivial Update of LoriShelb by LoriShelb
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The LoriShelb page has been changed by LoriShelb: http://wiki.apache.org/cassandra/LoriShelb New page: Name: Lori ShelbyBR My age: 31BR Country: SwitzerlandBR Home town: Serocca BR Post code: 6982BR Street: Mattenstrasse 139BR BR my web page - [[http://promo121.com/profile/mosedstitt|visit the up coming internet page]]
[Cassandra Wiki] Trivial Update of KYISamb by KYISamb
Dear Wiki user, You have subscribed to a wiki page or wiki category on Cassandra Wiki for change notification. The KYISamb page has been changed by KYISamb: http://wiki.apache.org/cassandra/KYISamb New page: Hey fellas !! My name is HERMILA MCDANIEL.BR I live in Charleston. I study at The Wise Prep School located in Round Lake Beach. I am a fan of Train Spotting. My daddy name is Daniel and he is a Vibrafonist. My mummy is a Cosmonaut.BR BR Feel free to visit my blog post; [[http://www.justchanelbags.com|chanel wallet]]
[jira] [Commented] (CASSANDRA-4071) Topology changes can lead to bad counters (at RF=1)
[ https://issues.apache.org/jira/browse/CASSANDRA-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612374#comment-13612374 ] Kevin Ye commented on CASSANDRA-4071: - Is there any progress in fixing the bug ? We rely strongly on counters, when a new node jion the cluster, we will be in trouble. Topology changes can lead to bad counters (at RF=1) --- Key: CASSANDRA-4071 URL: https://issues.apache.org/jira/browse/CASSANDRA-4071 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.0 Reporter: Sylvain Lebresne Labels: counters A counter is broken into shards (partitions), each shard being 'owned' by a given replica (meaning that only this replica will increment that shard). For a given node A, the resolution of 2 shards (having the same owner) follows the following rules: * if the shards are owned by A, then sum the values (in the original patch, 'owned by A' was based on the machine IP address, in the current code, it's based on the shard having a delta flag but the principle is the same) * otherwise, keep the maximum value (based on the shards clocks) During topology changes (boostrap/move/decommission), we transfer data from A to B, but the shards owned by A are not owned by B (and we cannot make them owned by B because during those operations (boostrap, ...) a given shard would be owned by A and B which would break counters). But this means that B won't interpret the streamed shards correctly. Concretely, if A receives a number of counter increments that end up in different sstables (the shards should thus be summed) and then those increments are streamed to B as part of boostrap, B will not sum the increments but use the clocks to keep the maximum value. I've pushed a test that show the breakeage at https://github.com/riptano/cassandra-dtest/commits/counters_test (the test needs CASSANDRA-4070 to work correctly). Note that in practice, replication will hide this (even though B will have the bad value after the boostrap, read or read/repair from the other replica will repair it). This is a problem for RF=1 however. Another problem is that during repair, a node won't correctly repair other nodes on it's own shards (unless everything is fully compacted). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira