[jira] [Comment Edited] (CASSANDRA-13412) Update of column with TTL results in secondary index not returning row

2017-04-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15976935#comment-15976935
 ] 

Andrés de la Peña edited comment on CASSANDRA-13412 at 4/21/17 8:25 AM:


Totally agree. I have added a new test for an index on a regular column. Here 
is the new patch, where the unaffected 3.0+ branches have only the unit tests:

||[2.1|https://github.com/apache/cassandra/compare/cassandra-2.1...adelapena:13412-2.1]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-dtest/]|
||[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...adelapena:13412-2.2]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-dtest/]|
||[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:13412-3.0]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.0-testall/]|
 |
||[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:13412-3.11]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.11-testall/]|
 |
||[trunk|https://github.com/apache/cassandra/compare/cassandra-trunk...adelapena:13412-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-trunk-testall/]|
 |


was (Author: adelapena):
Totally agree. I have added a new test for an index on a regular column. Here 
is the new patch, where the unaffected 3.0+ branches have only the unit tests:

||[2.1|https://github.com/apache/cassandra/compare/cassandra-2.1...adelapena:13412-2.1]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-dtest/]|
||[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...adelapena:13412-2.2]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-dtest/]|
||[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:13412-3.0]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.0-testall/]|
 |
||[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:13412-3.11]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.11-testall/]|
 |
||[3.0|https://github.com/apache/cassandra/compare/cassandra-trunk...adelapena:13412-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-trunk-testall/]|
 |

> Update of column with TTL results in secondary index not returning row
> --
>
> Key: CASSANDRA-13412
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13412
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Enrique Bautista Barahona
>Assignee: Andrés de la Peña
> Fix For: 2.1.x, 2.2.x
>
>
> Cassandra versions: 2.2.3, 3.0.11
> 1 datacenter, keyspace has RF 3. Default consistency level.
> Steps:
> 1. I create these table and index.
> {code}
> CREATE TABLE my_table (
> a text,
> b text,
> c text,
> d set,
> e float,
> f text,
> g int,
> h double,
> j set,
> k float,
> m set,
> PRIMARY KEY (a, b, c)
> ) WITH read_repair_chance = 0.0
>AND dclocal_read_repair_chance = 0.1
>AND gc_grace_seconds = 864000
>AND bloom_filter_fp_chance = 0.01
>AND caching = { 'keys' : 'ALL', 'rows_per_partition' : 'NONE' }
>AND comment = ''
>AND compaction = { 'class' : 
> 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' }
>AND compression = { 'sstable_compression' : 
> 'org.apache.cassandra.io.compress.LZ4Compressor' }
>AND default_time_to_live = 0
>AND speculative_retry = '99.0PERCENTILE'
>AND min_index_interval = 128
>AND max_index_interval = 2048;
> CREATE INDEX my_index ON my_table (c);
> {code}
> 2. I have 9951 INSERT statements in a file and I run the following command to 
> execute them. The INSERT statements have no TTL and no consistency level is 
> specified.
> {code}
> cqlsh   -u  -f 
> {code}
> 3. I update a column filtering by the whole primary key, and setting a TTL. 
> For example:
> {code}
> UPDATE my_table USING TTL 30 SET h = 10 WHERE a = 'test_a' AND b = 'test_b' 
> AND c = 'test_c';
> {code}
> 4. After the time specified in the TTL I run the following queries:
> {code}
> SELECT * FROM my_table WHERE a = 'test_a' AND b = 'test_b' AND c = 'test_c';
> SELECT * FROM my_table WHERE c = 'test_c';
> {code}
> The first one returns 

[jira] [Comment Edited] (CASSANDRA-13412) Update of column with TTL results in secondary index not returning row

2017-04-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15976935#comment-15976935
 ] 

Andrés de la Peña edited comment on CASSANDRA-13412 at 4/21/17 8:26 AM:


Totally agree. I have added a new test for an index on a regular column. Here 
is the new patch, where the unaffected 3.0+ branches have only the unit tests:

||[2.1|https://github.com/apache/cassandra/compare/cassandra-2.1...adelapena:13412-2.1]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-dtest/]|
||[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...adelapena:13412-2.2]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-dtest/]|
||[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:13412-3.0]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.0-testall/]|
 |
||[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:13412-3.11]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.11-testall/]|
 |
||[trunk|https://github.com/apache/cassandra/compare/trunk...adelapena:13412-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-trunk-testall/]|
 |


was (Author: adelapena):
Totally agree. I have added a new test for an index on a regular column. Here 
is the new patch, where the unaffected 3.0+ branches have only the unit tests:

||[2.1|https://github.com/apache/cassandra/compare/cassandra-2.1...adelapena:13412-2.1]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.1-dtest/]|
||[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...adelapena:13412-2.2]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-2.2-dtest/]|
||[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:13412-3.0]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.0-testall/]|
 |
||[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:13412-3.11]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-3.11-testall/]|
 |
||[trunk|https://github.com/apache/cassandra/compare/cassandra-trunk...adelapena:13412-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13412-trunk-testall/]|
 |

> Update of column with TTL results in secondary index not returning row
> --
>
> Key: CASSANDRA-13412
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13412
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Enrique Bautista Barahona
>Assignee: Andrés de la Peña
> Fix For: 2.1.x, 2.2.x
>
>
> Cassandra versions: 2.2.3, 3.0.11
> 1 datacenter, keyspace has RF 3. Default consistency level.
> Steps:
> 1. I create these table and index.
> {code}
> CREATE TABLE my_table (
> a text,
> b text,
> c text,
> d set,
> e float,
> f text,
> g int,
> h double,
> j set,
> k float,
> m set,
> PRIMARY KEY (a, b, c)
> ) WITH read_repair_chance = 0.0
>AND dclocal_read_repair_chance = 0.1
>AND gc_grace_seconds = 864000
>AND bloom_filter_fp_chance = 0.01
>AND caching = { 'keys' : 'ALL', 'rows_per_partition' : 'NONE' }
>AND comment = ''
>AND compaction = { 'class' : 
> 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' }
>AND compression = { 'sstable_compression' : 
> 'org.apache.cassandra.io.compress.LZ4Compressor' }
>AND default_time_to_live = 0
>AND speculative_retry = '99.0PERCENTILE'
>AND min_index_interval = 128
>AND max_index_interval = 2048;
> CREATE INDEX my_index ON my_table (c);
> {code}
> 2. I have 9951 INSERT statements in a file and I run the following command to 
> execute them. The INSERT statements have no TTL and no consistency level is 
> specified.
> {code}
> cqlsh   -u  -f 
> {code}
> 3. I update a column filtering by the whole primary key, and setting a TTL. 
> For example:
> {code}
> UPDATE my_table USING TTL 30 SET h = 10 WHERE a = 'test_a' AND b = 'test_b' 
> AND c = 'test_c';
> {code}
> 4. After the time specified in the TTL I run the following queries:
> {code}
> SELECT * FROM my_table WHERE a = 'test_a' AND b = 'test_b' AND c = 'test_c';
> SELECT * FROM my_table WHERE c = 'test_c';
> {code}
> The first one returns the 

[jira] [Commented] (CASSANDRA-13265) Expiration in OutboundTcpConnection can block the reader Thread

2017-04-21 Thread Christian Esken (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978730#comment-15978730
 ] 

Christian Esken commented on CASSANDRA-13265:
-

Hmm, I rebased on 2.2 and trunk. I am surprised that 3.11 is not current, as 
3.11 is not that old. I will now clean my repo, including deleting the bad 
"13625" branches and rebasing 3.0 and 3.11. 

> Expiration in OutboundTcpConnection can block the reader Thread
> ---
>
> Key: CASSANDRA-13265
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13265
> Project: Cassandra
>  Issue Type: Bug
> Environment: Cassandra 3.0.9
> Java HotSpot(TM) 64-Bit Server VM version 25.112-b15 (Java version 
> 1.8.0_112-b15)
> Linux 3.16
>Reporter: Christian Esken
>Assignee: Christian Esken
> Fix For: 3.0.x
>
> Attachments: cassandra.pb-cache4-dus.2017-02-17-19-36-26.chist.xz, 
> cassandra.pb-cache4-dus.2017-02-17-19-36-26.td.xz
>
>
> I observed that sometimes a single node in a Cassandra cluster fails to 
> communicate to the other nodes. This can happen at any time, during peak load 
> or low load. Restarting that single node from the cluster fixes the issue.
> Before going in to details, I want to state that I have analyzed the 
> situation and am already developing a possible fix. Here is the analysis so 
> far:
> - A Threaddump in this situation showed  324 Threads in the 
> OutboundTcpConnection class that want to lock the backlog queue for doing 
> expiration.
> - A class histogram shows 262508 instances of 
> OutboundTcpConnection$QueuedMessage.
> What is the effect of it? As soon as the Cassandra node has reached a certain 
> amount of queued messages, it starts thrashing itself to death. Each of the 
> Thread fully locks the Queue for reading and writing by calling 
> iterator.next(), making the situation worse and worse.
> - Writing: Only after 262508 locking operation it can progress with actually 
> writing to the Queue.
> - Reading: Is also blocked, as 324 Threads try to do iterator.next(), and 
> fully lock the Queue
> This means: Writing blocks the Queue for reading, and readers might even be 
> starved which makes the situation even worse.
> -
> The setup is:
>  - 3-node cluster
>  - replication factor 2
>  - Consistency LOCAL_ONE
>  - No remote DC's
>  - high write throughput (10 INSERT statements per second and more during 
> peak times).
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13265) Expiration in OutboundTcpConnection can block the reader Thread

2017-04-21 Thread Christian Esken (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978748#comment-15978748
 ] 

Christian Esken commented on CASSANDRA-13265:
-

I pulled the changes, fixed the CHANGES.txt and pushed everything again. Now 
CircleCI is kicking off the builds for the branches. Looks like we are getting 
somewhere. :-)

> Expiration in OutboundTcpConnection can block the reader Thread
> ---
>
> Key: CASSANDRA-13265
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13265
> Project: Cassandra
>  Issue Type: Bug
> Environment: Cassandra 3.0.9
> Java HotSpot(TM) 64-Bit Server VM version 25.112-b15 (Java version 
> 1.8.0_112-b15)
> Linux 3.16
>Reporter: Christian Esken
>Assignee: Christian Esken
> Fix For: 3.0.x
>
> Attachments: cassandra.pb-cache4-dus.2017-02-17-19-36-26.chist.xz, 
> cassandra.pb-cache4-dus.2017-02-17-19-36-26.td.xz
>
>
> I observed that sometimes a single node in a Cassandra cluster fails to 
> communicate to the other nodes. This can happen at any time, during peak load 
> or low load. Restarting that single node from the cluster fixes the issue.
> Before going in to details, I want to state that I have analyzed the 
> situation and am already developing a possible fix. Here is the analysis so 
> far:
> - A Threaddump in this situation showed  324 Threads in the 
> OutboundTcpConnection class that want to lock the backlog queue for doing 
> expiration.
> - A class histogram shows 262508 instances of 
> OutboundTcpConnection$QueuedMessage.
> What is the effect of it? As soon as the Cassandra node has reached a certain 
> amount of queued messages, it starts thrashing itself to death. Each of the 
> Thread fully locks the Queue for reading and writing by calling 
> iterator.next(), making the situation worse and worse.
> - Writing: Only after 262508 locking operation it can progress with actually 
> writing to the Queue.
> - Reading: Is also blocked, as 324 Threads try to do iterator.next(), and 
> fully lock the Queue
> This means: Writing blocks the Queue for reading, and readers might even be 
> starved which makes the situation even worse.
> -
> The setup is:
>  - 3-node cluster
>  - replication factor 2
>  - Consistency LOCAL_ONE
>  - No remote DC's
>  - high write throughput (10 INSERT statements per second and more during 
> peak times).
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13432) MemtableReclaimMemory can get stuck because of lack of timeout in getTopLevelColumns()

2017-04-21 Thread Corentin Chary (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Corentin Chary updated CASSANDRA-13432:
---
Attachment: (was: CASSANDRA-13432.patch)

> MemtableReclaimMemory can get stuck because of lack of timeout in 
> getTopLevelColumns()
> --
>
> Key: CASSANDRA-13432
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13432
> Project: Cassandra
>  Issue Type: Bug
> Environment: cassandra 2.1.15
>Reporter: Corentin Chary
> Fix For: 2.1.x
>
>
> This might affect 3.x too, I'm not sure.
> {code}
> $ nodetool tpstats
> Pool NameActive   Pending  Completed   Blocked  All 
> time blocked
> MutationStage 0 0   32135875 0
>  0
> ReadStage   114 0   29492940 0
>  0
> RequestResponseStage  0 0   86090931 0
>  0
> ReadRepairStage   0 0 166645 0
>  0
> CounterMutationStage  0 0  0 0
>  0
> MiscStage 0 0  0 0
>  0
> HintedHandoff 0 0 47 0
>  0
> GossipStage   0 0 188769 0
>  0
> CacheCleanupExecutor  0 0  0 0
>  0
> InternalResponseStage 0 0  0 0
>  0
> CommitLogArchiver 0 0  0 0
>  0
> CompactionExecutor0 0  86835 0
>  0
> ValidationExecutor0 0  0 0
>  0
> MigrationStage0 0  0 0
>  0
> AntiEntropyStage  0 0  0 0
>  0
> PendingRangeCalculator0 0 92 0
>  0
> Sampler   0 0  0 0
>  0
> MemtableFlushWriter   0 0563 0
>  0
> MemtablePostFlush 0 0   1500 0
>  0
> MemtableReclaimMemory 129534 0
>  0
> Native-Transport-Requests41 0   54819182 0
>   1896
> {code}
> {code}
> "MemtableReclaimMemory:195" - Thread t@6268
>java.lang.Thread.State: WAITING
>   at sun.misc.Unsafe.park(Native Method)
>   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:304)
>   at 
> org.apache.cassandra.utils.concurrent.WaitQueue$AbstractSignal.awaitUninterruptibly(WaitQueue.java:283)
>   at 
> org.apache.cassandra.utils.concurrent.OpOrder$Barrier.await(OpOrder.java:417)
>   at 
> org.apache.cassandra.db.ColumnFamilyStore$Flush$1.runMayThrow(ColumnFamilyStore.java:1151)
>   at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
>Locked ownable synchronizers:
>   - locked <6e7b1160> (a java.util.concurrent.ThreadPoolExecutor$Worker)
> "SharedPool-Worker-195" - Thread t@989
>java.lang.Thread.State: RUNNABLE
>   at 
> org.apache.cassandra.db.RangeTombstoneList.addInternal(RangeTombstoneList.java:690)
>   at 
> org.apache.cassandra.db.RangeTombstoneList.insertFrom(RangeTombstoneList.java:650)
>   at 
> org.apache.cassandra.db.RangeTombstoneList.add(RangeTombstoneList.java:171)
>   at 
> org.apache.cassandra.db.RangeTombstoneList.add(RangeTombstoneList.java:143)
>   at org.apache.cassandra.db.DeletionInfo.add(DeletionInfo.java:240)
>   at 
> org.apache.cassandra.db.ArrayBackedSortedColumns.delete(ArrayBackedSortedColumns.java:483)
>   at org.apache.cassandra.db.ColumnFamily.addAtom(ColumnFamily.java:153)
>   at 
> org.apache.cassandra.db.filter.QueryFilter$2.getNext(QueryFilter.java:184)
>   at 
> 

[jira] [Commented] (CASSANDRA-8780) cassandra-stress should support multiple table operations

2017-04-21 Thread Ben Slater (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-8780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979770#comment-15979770
 ] 

Ben Slater commented on CASSANDRA-8780:
---

[~tjake] Wondering if you are likely to have time to review this anytime soon 
or should we throw it back in the pool and see if anyone else is available to 
review?

> cassandra-stress should support multiple table operations
> -
>
> Key: CASSANDRA-8780
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8780
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Benedict
>Assignee: Ben Slater
>  Labels: stress
> Fix For: 3.11.x
>
> Attachments: 8780-trunkv2.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[09/15] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.1' into cassandra-2.2


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cba5c7fa
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cba5c7fa
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cba5c7fa

Branch: refs/heads/cassandra-3.11
Commit: cba5c7fa8b3d2889ef41bfbf98c9efa1a354dc29
Parents: 31590f5 572fef8
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:16:33 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:18:59 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cba5c7fa/CHANGES.txt
--
diff --cc CHANGES.txt
index 33c24ad,2517432..6ffddc0
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,61 -1,11 +1,62 @@@
 -2.1.18
 +2.2.10
 + * Avoid starting gossiper in RemoveTest (CASSANDRA-13407)
 + * Fix weightedSize() for row-cache reported by JMX and NodeTool 
(CASSANDRA-13393)
 + * Fix JVM metric paths (CASSANDRA-13103)
 + * Honor truststore-password parameter in cassandra-stress (CASSANDRA-12773)
 + * Discard in-flight shadow round responses (CASSANDRA-12653)
 + * Don't anti-compact repaired data to avoid inconsistencies (CASSANDRA-13153)
 + * Wrong logger name in AnticompactionTask (CASSANDRA-13343)
 + * Fix queries updating multiple time the same list (CASSANDRA-13130)
 + * Fix GRANT/REVOKE when keyspace isn't specified (CASSANDRA-13053)
 + * Avoid race on receiver by starting streaming sender thread after sending 
init message (CASSANDRA-12886)
 + * Fix "multiple versions of ant detected..." when running ant test 
(CASSANDRA-13232)
 + * Coalescing strategy sleeps too much (CASSANDRA-13090)
 + * Make sure compaction stats are updated when compaction is interrupted 
(Backport from 3.0, CASSANDRA-12100)
 + * Fix flaky LongLeveledCompactionStrategyTest (CASSANDRA-12202)
 + * Fix failing COPY TO STDOUT (CASSANDRA-12497)
 + * Fix ColumnCounter::countAll behaviour for reverse queries (CASSANDRA-13222)
 + * Exceptions encountered calling getSeeds() breaks OTC thread 
(CASSANDRA-13018)
 + * Commitlog replay may fail if last mutation is within 4 bytes of end of 
segment (CASSANDRA-13282)
 +Merged from 2.1:
+  * Set javac encoding to utf-8 (CASSANDRA-13466)
   * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
   * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
 - * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
   * Remove unused repositories (CASSANDRA-13278)
 + * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
 +
  
 -2.1.17
 +2.2.9
 + * Fix negative mean latency metric (CASSANDRA-12876)
 + * Use only one file pointer when creating commitlog segments 
(CASSANDRA-12539)
 + * Fix speculative retry bugs (CASSANDRA-13009)
 + * Fix handling of nulls and unsets in IN conditions (CASSANDRA-12981) 
 + * Remove support for non-JavaScript UDFs (CASSANDRA-12883)
 + * Fix DynamicEndpointSnitch noop in multi-datacenter situations 
(CASSANDRA-13074)
 + * cqlsh copy-from: encode column names to avoid primary key parsing errors 
(CASSANDRA-12909)
 + * Temporarily fix bug that creates commit log when running offline tools 
(CASSANDRA-8616)
 + * Reduce granuality of OpOrder.Group during index build (CASSANDRA-12796)
 + * Test bind parameters and unset parameters in InsertUpdateIfConditionTest 
(CASSANDRA-12980)
 + * Do not specify local address on outgoing connection when 
listen_on_broadcast_address is set (CASSANDRA-12673)
 + * Use saved tokens when setting local tokens on StorageService.joinRing 
(CASSANDRA-12935)
 + * cqlsh: fix DESC TYPES errors (CASSANDRA-12914)
 + * Fix leak on skipped SSTables in sstableupgrade (CASSANDRA-12899)
 + * Avoid blocking gossip during pending range calculation (CASSANDRA-12281)
 + * Fix purgeability of tombstones with max timestamp (CASSANDRA-12792)
 + * Fail repair if participant dies during sync or anticompaction 
(CASSANDRA-12901)
 + * cqlsh COPY: unprotected pk values before converting them if not using 
prepared statements (CASSANDRA-12863)
 + * Fix Util.spinAssertEquals (CASSANDRA-12283)
 + * Fix potential NPE for compactionstats (CASSANDRA-12462)
 + * Prepare legacy authenticate statement if credentials table initialised 
after node startup (CASSANDRA-12813)
 + * Change cassandra.wait_for_tracing_events_timeout_secs default to 0 
(CASSANDRA-12754)
 + * Clean up permissions when a UDA is dropped (CASSANDRA-12720)
 + * Limit colUpdateTimeDelta histogram updates to reasonable deltas 
(CASSANDRA-7)
 + * Fix leak errors and execution rejected exceptions when draining 
(CASSANDRA-12457)
 + * Fix merkle tree depth calculation 

[05/15] cassandra git commit: Set javac encoding to utf-8

2017-04-21 Thread aweisberg
Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/cassandra-3.11
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg 
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:15:42 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
--
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
--
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
 
 
 
@@ -715,6 +716,7 @@
 
 
 
@@ -739,7 +741,7 @@
 
 

-
+
 
 
 
@@ -1072,6 +1074,7 @@
 

[03/15] cassandra git commit: Set javac encoding to utf-8

2017-04-21 Thread aweisberg
Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/trunk
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg 
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:15:42 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
--
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
--
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
 
 
 
@@ -715,6 +716,7 @@
 
 
 
@@ -739,7 +741,7 @@
 
 

-
+
 
 
 
@@ -1072,6 +1074,7 @@
 

[06/15] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.1' into cassandra-2.2


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cba5c7fa
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cba5c7fa
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cba5c7fa

Branch: refs/heads/trunk
Commit: cba5c7fa8b3d2889ef41bfbf98c9efa1a354dc29
Parents: 31590f5 572fef8
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:16:33 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:18:59 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cba5c7fa/CHANGES.txt
--
diff --cc CHANGES.txt
index 33c24ad,2517432..6ffddc0
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,61 -1,11 +1,62 @@@
 -2.1.18
 +2.2.10
 + * Avoid starting gossiper in RemoveTest (CASSANDRA-13407)
 + * Fix weightedSize() for row-cache reported by JMX and NodeTool 
(CASSANDRA-13393)
 + * Fix JVM metric paths (CASSANDRA-13103)
 + * Honor truststore-password parameter in cassandra-stress (CASSANDRA-12773)
 + * Discard in-flight shadow round responses (CASSANDRA-12653)
 + * Don't anti-compact repaired data to avoid inconsistencies (CASSANDRA-13153)
 + * Wrong logger name in AnticompactionTask (CASSANDRA-13343)
 + * Fix queries updating multiple time the same list (CASSANDRA-13130)
 + * Fix GRANT/REVOKE when keyspace isn't specified (CASSANDRA-13053)
 + * Avoid race on receiver by starting streaming sender thread after sending 
init message (CASSANDRA-12886)
 + * Fix "multiple versions of ant detected..." when running ant test 
(CASSANDRA-13232)
 + * Coalescing strategy sleeps too much (CASSANDRA-13090)
 + * Make sure compaction stats are updated when compaction is interrupted 
(Backport from 3.0, CASSANDRA-12100)
 + * Fix flaky LongLeveledCompactionStrategyTest (CASSANDRA-12202)
 + * Fix failing COPY TO STDOUT (CASSANDRA-12497)
 + * Fix ColumnCounter::countAll behaviour for reverse queries (CASSANDRA-13222)
 + * Exceptions encountered calling getSeeds() breaks OTC thread 
(CASSANDRA-13018)
 + * Commitlog replay may fail if last mutation is within 4 bytes of end of 
segment (CASSANDRA-13282)
 +Merged from 2.1:
+  * Set javac encoding to utf-8 (CASSANDRA-13466)
   * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
   * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
 - * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
   * Remove unused repositories (CASSANDRA-13278)
 + * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
 +
  
 -2.1.17
 +2.2.9
 + * Fix negative mean latency metric (CASSANDRA-12876)
 + * Use only one file pointer when creating commitlog segments 
(CASSANDRA-12539)
 + * Fix speculative retry bugs (CASSANDRA-13009)
 + * Fix handling of nulls and unsets in IN conditions (CASSANDRA-12981) 
 + * Remove support for non-JavaScript UDFs (CASSANDRA-12883)
 + * Fix DynamicEndpointSnitch noop in multi-datacenter situations 
(CASSANDRA-13074)
 + * cqlsh copy-from: encode column names to avoid primary key parsing errors 
(CASSANDRA-12909)
 + * Temporarily fix bug that creates commit log when running offline tools 
(CASSANDRA-8616)
 + * Reduce granuality of OpOrder.Group during index build (CASSANDRA-12796)
 + * Test bind parameters and unset parameters in InsertUpdateIfConditionTest 
(CASSANDRA-12980)
 + * Do not specify local address on outgoing connection when 
listen_on_broadcast_address is set (CASSANDRA-12673)
 + * Use saved tokens when setting local tokens on StorageService.joinRing 
(CASSANDRA-12935)
 + * cqlsh: fix DESC TYPES errors (CASSANDRA-12914)
 + * Fix leak on skipped SSTables in sstableupgrade (CASSANDRA-12899)
 + * Avoid blocking gossip during pending range calculation (CASSANDRA-12281)
 + * Fix purgeability of tombstones with max timestamp (CASSANDRA-12792)
 + * Fail repair if participant dies during sync or anticompaction 
(CASSANDRA-12901)
 + * cqlsh COPY: unprotected pk values before converting them if not using 
prepared statements (CASSANDRA-12863)
 + * Fix Util.spinAssertEquals (CASSANDRA-12283)
 + * Fix potential NPE for compactionstats (CASSANDRA-12462)
 + * Prepare legacy authenticate statement if credentials table initialised 
after node startup (CASSANDRA-12813)
 + * Change cassandra.wait_for_tracing_events_timeout_secs default to 0 
(CASSANDRA-12754)
 + * Clean up permissions when a UDA is dropped (CASSANDRA-12720)
 + * Limit colUpdateTimeDelta histogram updates to reasonable deltas 
(CASSANDRA-7)
 + * Fix leak errors and execution rejected exceptions when draining 
(CASSANDRA-12457)
 + * Fix merkle tree depth calculation 

[14/15] cassandra git commit: Merge branch 'cassandra-3.0' into cassandra-3.11

2017-04-21 Thread aweisberg
Merge branch 'cassandra-3.0' into cassandra-3.11


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ba9beea9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ba9beea9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ba9beea9

Branch: refs/heads/trunk
Commit: ba9beea9db45268e9e7ba80b2bc719788e6a718e
Parents: 4d24958 d079ce0
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:21:54 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:21:54 2017 -0400

--

--




[13/15] cassandra git commit: Merge branch 'cassandra-3.0' into cassandra-3.11

2017-04-21 Thread aweisberg
Merge branch 'cassandra-3.0' into cassandra-3.11


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ba9beea9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ba9beea9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ba9beea9

Branch: refs/heads/cassandra-3.11
Commit: ba9beea9db45268e9e7ba80b2bc719788e6a718e
Parents: 4d24958 d079ce0
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:21:54 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:21:54 2017 -0400

--

--




[02/15] cassandra git commit: Set javac encoding to utf-8

2017-04-21 Thread aweisberg
Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/cassandra-2.2
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg 
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:15:42 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
--
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
--
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
 
 
 
@@ -715,6 +716,7 @@
 
 
 
@@ -739,7 +741,7 @@
 
 

-
+
 
 
 
@@ -1072,6 +1074,7 @@
 

[11/15] cassandra git commit: Merge branch 'cassandra-2.2' into cassandra-3.0

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.2' into cassandra-3.0


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d079ce01
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d079ce01
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d079ce01

Branch: refs/heads/cassandra-3.11
Commit: d079ce0156aca9f26941da6069b0388db1e73bf9
Parents: f5b36f1 cba5c7f
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:19:41 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:19:41 2017 -0400

--

--




[01/15] cassandra git commit: Set javac encoding to utf-8

2017-04-21 Thread aweisberg
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 3dfc78449 -> 572fef8a0
  refs/heads/cassandra-2.2 31590f5da -> cba5c7fa8
  refs/heads/cassandra-3.0 f5b36f12d -> d079ce015
  refs/heads/cassandra-3.11 4d24958dd -> ba9beea9d
  refs/heads/trunk 9308159bc -> 049ba2d4d


Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/cassandra-2.1
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg 
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:15:42 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
--
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
--
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
 
 
 
@@ -715,6 +716,7 @@
 
 
 
@@ -739,7 +741,7 @@
 
 

-
+
 
 
 
@@ -1072,6 +1074,7 @@
 

[jira] [Comment Edited] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979356#comment-15979356
 ] 

Simon Zhou edited comment on CASSANDRA-13467 at 4/21/17 8:55 PM:
-

This is the same patch from CASSANDRA-10876:

| 3.0 | patch 
[https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269
 ] |


was (Author: szhou):
This is the same patch from CASSANDRA-10876:

| 3.0 | [ patch | 
https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269
 ] |

> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)
Simon Zhou created CASSANDRA-13467:
--

 Summary: [Backport CASSANDRA-10876]: Alter behavior of batch WARN 
and fail on single partition batches
 Key: CASSANDRA-13467
 URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Simon Zhou
Assignee: Simon Zhou
Priority: Minor
 Fix For: 3.0.x


Would anyone think this backport may cause problem? We're running Cassandra 3.0 
and hit this problem. There are some other people would like this backport (see 
the last few comments from CASSANDRA-10876).

I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Ariel Weisberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ariel Weisberg updated CASSANDRA-13466:
---
Status: Patch Available  (was: In Progress)

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.x, 2.2.x
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[08/15] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.1' into cassandra-2.2


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cba5c7fa
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cba5c7fa
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cba5c7fa

Branch: refs/heads/cassandra-3.0
Commit: cba5c7fa8b3d2889ef41bfbf98c9efa1a354dc29
Parents: 31590f5 572fef8
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:16:33 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:18:59 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cba5c7fa/CHANGES.txt
--
diff --cc CHANGES.txt
index 33c24ad,2517432..6ffddc0
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,61 -1,11 +1,62 @@@
 -2.1.18
 +2.2.10
 + * Avoid starting gossiper in RemoveTest (CASSANDRA-13407)
 + * Fix weightedSize() for row-cache reported by JMX and NodeTool 
(CASSANDRA-13393)
 + * Fix JVM metric paths (CASSANDRA-13103)
 + * Honor truststore-password parameter in cassandra-stress (CASSANDRA-12773)
 + * Discard in-flight shadow round responses (CASSANDRA-12653)
 + * Don't anti-compact repaired data to avoid inconsistencies (CASSANDRA-13153)
 + * Wrong logger name in AnticompactionTask (CASSANDRA-13343)
 + * Fix queries updating multiple time the same list (CASSANDRA-13130)
 + * Fix GRANT/REVOKE when keyspace isn't specified (CASSANDRA-13053)
 + * Avoid race on receiver by starting streaming sender thread after sending 
init message (CASSANDRA-12886)
 + * Fix "multiple versions of ant detected..." when running ant test 
(CASSANDRA-13232)
 + * Coalescing strategy sleeps too much (CASSANDRA-13090)
 + * Make sure compaction stats are updated when compaction is interrupted 
(Backport from 3.0, CASSANDRA-12100)
 + * Fix flaky LongLeveledCompactionStrategyTest (CASSANDRA-12202)
 + * Fix failing COPY TO STDOUT (CASSANDRA-12497)
 + * Fix ColumnCounter::countAll behaviour for reverse queries (CASSANDRA-13222)
 + * Exceptions encountered calling getSeeds() breaks OTC thread 
(CASSANDRA-13018)
 + * Commitlog replay may fail if last mutation is within 4 bytes of end of 
segment (CASSANDRA-13282)
 +Merged from 2.1:
+  * Set javac encoding to utf-8 (CASSANDRA-13466)
   * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
   * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
 - * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
   * Remove unused repositories (CASSANDRA-13278)
 + * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
 +
  
 -2.1.17
 +2.2.9
 + * Fix negative mean latency metric (CASSANDRA-12876)
 + * Use only one file pointer when creating commitlog segments 
(CASSANDRA-12539)
 + * Fix speculative retry bugs (CASSANDRA-13009)
 + * Fix handling of nulls and unsets in IN conditions (CASSANDRA-12981) 
 + * Remove support for non-JavaScript UDFs (CASSANDRA-12883)
 + * Fix DynamicEndpointSnitch noop in multi-datacenter situations 
(CASSANDRA-13074)
 + * cqlsh copy-from: encode column names to avoid primary key parsing errors 
(CASSANDRA-12909)
 + * Temporarily fix bug that creates commit log when running offline tools 
(CASSANDRA-8616)
 + * Reduce granuality of OpOrder.Group during index build (CASSANDRA-12796)
 + * Test bind parameters and unset parameters in InsertUpdateIfConditionTest 
(CASSANDRA-12980)
 + * Do not specify local address on outgoing connection when 
listen_on_broadcast_address is set (CASSANDRA-12673)
 + * Use saved tokens when setting local tokens on StorageService.joinRing 
(CASSANDRA-12935)
 + * cqlsh: fix DESC TYPES errors (CASSANDRA-12914)
 + * Fix leak on skipped SSTables in sstableupgrade (CASSANDRA-12899)
 + * Avoid blocking gossip during pending range calculation (CASSANDRA-12281)
 + * Fix purgeability of tombstones with max timestamp (CASSANDRA-12792)
 + * Fail repair if participant dies during sync or anticompaction 
(CASSANDRA-12901)
 + * cqlsh COPY: unprotected pk values before converting them if not using 
prepared statements (CASSANDRA-12863)
 + * Fix Util.spinAssertEquals (CASSANDRA-12283)
 + * Fix potential NPE for compactionstats (CASSANDRA-12462)
 + * Prepare legacy authenticate statement if credentials table initialised 
after node startup (CASSANDRA-12813)
 + * Change cassandra.wait_for_tracing_events_timeout_secs default to 0 
(CASSANDRA-12754)
 + * Clean up permissions when a UDA is dropped (CASSANDRA-12720)
 + * Limit colUpdateTimeDelta histogram updates to reasonable deltas 
(CASSANDRA-7)
 + * Fix leak errors and execution rejected exceptions when draining 
(CASSANDRA-12457)
 + * Fix merkle tree depth calculation 

[04/15] cassandra git commit: Set javac encoding to utf-8

2017-04-21 Thread aweisberg
Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/cassandra-3.0
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg 
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:15:42 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
--
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
--
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
 
 
 
@@ -715,6 +716,7 @@
 
 
 
@@ -739,7 +741,7 @@
 
 

-
+
 
 
 
@@ -1072,6 +1074,7 @@
 

[07/15] cassandra git commit: Merge branch 'cassandra-2.1' into cassandra-2.2

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.1' into cassandra-2.2


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cba5c7fa
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cba5c7fa
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cba5c7fa

Branch: refs/heads/cassandra-2.2
Commit: cba5c7fa8b3d2889ef41bfbf98c9efa1a354dc29
Parents: 31590f5 572fef8
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:16:33 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:18:59 2017 -0400

--
 CHANGES.txt | 1 +
 build.xml   | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cba5c7fa/CHANGES.txt
--
diff --cc CHANGES.txt
index 33c24ad,2517432..6ffddc0
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,61 -1,11 +1,62 @@@
 -2.1.18
 +2.2.10
 + * Avoid starting gossiper in RemoveTest (CASSANDRA-13407)
 + * Fix weightedSize() for row-cache reported by JMX and NodeTool 
(CASSANDRA-13393)
 + * Fix JVM metric paths (CASSANDRA-13103)
 + * Honor truststore-password parameter in cassandra-stress (CASSANDRA-12773)
 + * Discard in-flight shadow round responses (CASSANDRA-12653)
 + * Don't anti-compact repaired data to avoid inconsistencies (CASSANDRA-13153)
 + * Wrong logger name in AnticompactionTask (CASSANDRA-13343)
 + * Fix queries updating multiple time the same list (CASSANDRA-13130)
 + * Fix GRANT/REVOKE when keyspace isn't specified (CASSANDRA-13053)
 + * Avoid race on receiver by starting streaming sender thread after sending 
init message (CASSANDRA-12886)
 + * Fix "multiple versions of ant detected..." when running ant test 
(CASSANDRA-13232)
 + * Coalescing strategy sleeps too much (CASSANDRA-13090)
 + * Make sure compaction stats are updated when compaction is interrupted 
(Backport from 3.0, CASSANDRA-12100)
 + * Fix flaky LongLeveledCompactionStrategyTest (CASSANDRA-12202)
 + * Fix failing COPY TO STDOUT (CASSANDRA-12497)
 + * Fix ColumnCounter::countAll behaviour for reverse queries (CASSANDRA-13222)
 + * Exceptions encountered calling getSeeds() breaks OTC thread 
(CASSANDRA-13018)
 + * Commitlog replay may fail if last mutation is within 4 bytes of end of 
segment (CASSANDRA-13282)
 +Merged from 2.1:
+  * Set javac encoding to utf-8 (CASSANDRA-13466)
   * Fix 2ndary index queries on partition keys for tables with static columns 
(CASSANDRA-13147)
   * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
 - * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
   * Remove unused repositories (CASSANDRA-13278)
 + * Log stacktrace of uncaught exceptions (CASSANDRA-13108)
 +
  
 -2.1.17
 +2.2.9
 + * Fix negative mean latency metric (CASSANDRA-12876)
 + * Use only one file pointer when creating commitlog segments 
(CASSANDRA-12539)
 + * Fix speculative retry bugs (CASSANDRA-13009)
 + * Fix handling of nulls and unsets in IN conditions (CASSANDRA-12981) 
 + * Remove support for non-JavaScript UDFs (CASSANDRA-12883)
 + * Fix DynamicEndpointSnitch noop in multi-datacenter situations 
(CASSANDRA-13074)
 + * cqlsh copy-from: encode column names to avoid primary key parsing errors 
(CASSANDRA-12909)
 + * Temporarily fix bug that creates commit log when running offline tools 
(CASSANDRA-8616)
 + * Reduce granuality of OpOrder.Group during index build (CASSANDRA-12796)
 + * Test bind parameters and unset parameters in InsertUpdateIfConditionTest 
(CASSANDRA-12980)
 + * Do not specify local address on outgoing connection when 
listen_on_broadcast_address is set (CASSANDRA-12673)
 + * Use saved tokens when setting local tokens on StorageService.joinRing 
(CASSANDRA-12935)
 + * cqlsh: fix DESC TYPES errors (CASSANDRA-12914)
 + * Fix leak on skipped SSTables in sstableupgrade (CASSANDRA-12899)
 + * Avoid blocking gossip during pending range calculation (CASSANDRA-12281)
 + * Fix purgeability of tombstones with max timestamp (CASSANDRA-12792)
 + * Fail repair if participant dies during sync or anticompaction 
(CASSANDRA-12901)
 + * cqlsh COPY: unprotected pk values before converting them if not using 
prepared statements (CASSANDRA-12863)
 + * Fix Util.spinAssertEquals (CASSANDRA-12283)
 + * Fix potential NPE for compactionstats (CASSANDRA-12462)
 + * Prepare legacy authenticate statement if credentials table initialised 
after node startup (CASSANDRA-12813)
 + * Change cassandra.wait_for_tracing_events_timeout_secs default to 0 
(CASSANDRA-12754)
 + * Clean up permissions when a UDA is dropped (CASSANDRA-12720)
 + * Limit colUpdateTimeDelta histogram updates to reasonable deltas 
(CASSANDRA-7)
 + * Fix leak errors and execution rejected exceptions when draining 
(CASSANDRA-12457)
 + * Fix merkle tree depth calculation 

[15/15] cassandra git commit: Merge branch 'cassandra-3.11' into trunk

2017-04-21 Thread aweisberg
Merge branch 'cassandra-3.11' into trunk


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/049ba2d4
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/049ba2d4
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/049ba2d4

Branch: refs/heads/trunk
Commit: 049ba2d4d54d22a4dad147b34f37ec0f8c3caa51
Parents: 9308159 ba9beea
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:22:34 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:22:34 2017 -0400

--

--




[12/15] cassandra git commit: Merge branch 'cassandra-2.2' into cassandra-3.0

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.2' into cassandra-3.0


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d079ce01
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d079ce01
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d079ce01

Branch: refs/heads/cassandra-3.0
Commit: d079ce0156aca9f26941da6069b0388db1e73bf9
Parents: f5b36f1 cba5c7f
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:19:41 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:19:41 2017 -0400

--

--




[10/15] cassandra git commit: Merge branch 'cassandra-2.2' into cassandra-3.0

2017-04-21 Thread aweisberg
Merge branch 'cassandra-2.2' into cassandra-3.0


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d079ce01
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d079ce01
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d079ce01

Branch: refs/heads/trunk
Commit: d079ce0156aca9f26941da6069b0388db1e73bf9
Parents: f5b36f1 cba5c7f
Author: Ariel Weisberg 
Authored: Fri Apr 21 16:19:41 2017 -0400
Committer: Ariel Weisberg 
Committed: Fri Apr 21 16:19:41 2017 -0400

--

--




[jira] [Commented] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979356#comment-15979356
 ] 

Simon Zhou commented on CASSANDRA-13467:


This is the same patch from CASSANDRA-10876:

| 3.0 | [ patch | 
https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269
 ] |

> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979356#comment-15979356
 ] 

Simon Zhou edited comment on CASSANDRA-13467 at 4/21/17 8:57 PM:
-

This is the same patch from CASSANDRA-10876:

| 3.0 | 
[patch|https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269]



was (Author: szhou):
This is the same patch from CASSANDRA-10876:

| 3.0 | patch 
[https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269
 ] |

> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Ariel Weisberg (JIRA)
Ariel Weisberg created CASSANDRA-13466:
--

 Summary: Set javac encoding to utf-8 in 2.1 and 2.2.
 Key: CASSANDRA-13466
 URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
 Project: Cassandra
  Issue Type: Bug
  Components: Build
Reporter: Ariel Weisberg
 Fix For: 2.1.x, 2.2.x


There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Ariel Weisberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ariel Weisberg reassigned CASSANDRA-13466:
--

Assignee: Ariel Weisberg

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.x, 2.2.x
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Ariel Weisberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ariel Weisberg updated CASSANDRA-13466:
---
   Resolution: Fixed
Fix Version/s: (was: 2.2.x)
   (was: 2.1.x)
   2.2.10
   2.1.18
   Status: Resolved  (was: Ready to Commit)

Committed as 
[572fef8a06172bd925c478ec16540e8e28e84bd7|https://github.com/apache/cassandra/commit/572fef8a06172bd925c478ec16540e8e28e84bd7]

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.18, 2.2.10
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13257) Add repair streaming preview

2017-04-21 Thread Blake Eggleston (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979131#comment-15979131
 ] 

Blake Eggleston commented on CASSANDRA-13257:
-

[~spo...@gmail.com], I added a commit adding docs and NEWS.txt stuff 
[here|https://github.com/bdeggleston/cassandra/commit/dd3efd19179dae6297c95444c623c128976cb658],
 can you take a look?

I made a small change to the nodetool doc generator so we can link to the 
generated docs from other pages. I also added a line to the 
upgrading/incremental repair section that recommends users run a full repair 
after upgrading if they were using incremental repair in 3.x

> Add repair streaming preview
> 
>
> Key: CASSANDRA-13257
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13257
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Streaming and Messaging
>Reporter: Blake Eggleston
>Assignee: Blake Eggleston
> Fix For: 4.0
>
>
> It would be useful to be able to estimate the amount of repair streaming that 
> needs to be done, without actually doing any streaming. Our main motivation 
> for this having something this is validating CASSANDRA-9143 in production, 
> but I’d imagine it could also be a useful tool in troubleshooting.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Ariel Weisberg (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979295#comment-15979295
 ] 

Ariel Weisberg commented on CASSANDRA-13466:


||code|utests||
|[2.1|https://github.com/apache/cassandra/compare/cassandra-2.1...aweisberg:cassandra-13466-2.1?expand=1]|[utests|https://circleci.com/gh/aweisberg/cassandra/tree/cassandra-13466-2%2E1]|
|[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...aweisberg:cassandra-13466-2.2?expand=1]|[utests|https://circleci.com/gh/aweisberg/cassandra/tree/cassandra-13466-2%2E2]|

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.x, 2.2.x
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Jason Brown (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Brown updated CASSANDRA-13466:

Status: Ready to Commit  (was: Patch Available)

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.x, 2.2.x
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13466) Set javac encoding to utf-8 in 2.1 and 2.2.

2017-04-21 Thread Jason Brown (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979297#comment-15979297
 ] 

Jason Brown commented on CASSANDRA-13466:
-

+1

> Set javac encoding to utf-8 in 2.1 and 2.2.
> ---
>
> Key: CASSANDRA-13466
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13466
> Project: Cassandra
>  Issue Type: Bug
>  Components: Build
>Reporter: Ariel Weisberg
>Assignee: Ariel Weisberg
> Fix For: 2.1.x, 2.2.x
>
>
> There are non-ASCII characters in 2.1 and 2.2 source code, but javac is not 
> configured to interpret source files in UTF-8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979516#comment-15979516
 ] 

Simon Zhou commented on CASSANDRA-13467:


[~slebresne] do you want to take a look at this backport? The code is from your 
original commit in 3.6.

> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (CASSANDRA-13468) Improve incremental repair logging

2017-04-21 Thread Blake Eggleston (JIRA)
Blake Eggleston created CASSANDRA-13468:
---

 Summary: Improve incremental repair logging
 Key: CASSANDRA-13468
 URL: https://issues.apache.org/jira/browse/CASSANDRA-13468
 Project: Cassandra
  Issue Type: Improvement
Reporter: Blake Eggleston
Assignee: Blake Eggleston
Priority: Minor


The logging for incremental repair should be improved a bit. In it's current 
state, it's pretty conservative and doesn't really give much insight into whats 
going on.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13468) Improve incremental repair logging

2017-04-21 Thread Blake Eggleston (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Blake Eggleston updated CASSANDRA-13468:

Reviewer: Marcus Eriksson
  Status: Patch Available  (was: Open)

[trunk|https://github.com/bdeggleston/cassandra/tree/13468]

> Improve incremental repair logging
> --
>
> Key: CASSANDRA-13468
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13468
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Blake Eggleston
>Assignee: Blake Eggleston
>Priority: Minor
>
> The logging for incremental repair should be improved a bit. In it's current 
> state, it's pretty conservative and doesn't really give much insight into 
> whats going on.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979356#comment-15979356
 ] 

Simon Zhou edited comment on CASSANDRA-13467 at 4/21/17 10:03 PM:
--

This is the same patch from [3.6 | 
https://github.com/pcmanus/cassandra/commit/284eb4f49fade13f8dfcec9ff0f33aa19963c788]
 with slight change:

| 3.0 | 
[patch|https://github.com/szhou1234/cassandra/commit/b5783abc294564cb1d248f5ceee62a2924113060]



was (Author: szhou):
This is the same patch from CASSANDRA-10876:

| 3.0 | 
[patch|https://github.com/szhou1234/cassandra/commit/1718d6ef950cf0d0bc98aea68297937362a5f269]


> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979356#comment-15979356
 ] 

Simon Zhou edited comment on CASSANDRA-13467 at 4/21/17 10:06 PM:
--

This is the same patch from [3.6 | 
https://github.com/pcmanus/cassandra/commit/284eb4f49fade13f8dfcec9ff0f33aa19963c788]
 with slight change:

| 3.0 | 
[patch|https://github.com/szhou1234/cassandra/commit/2c61388e3032a18e32adbfdc30ab92908aef]



was (Author: szhou):
This is the same patch from [3.6 | 
https://github.com/pcmanus/cassandra/commit/284eb4f49fade13f8dfcec9ff0f33aa19963c788]
 with slight change:

| 3.0 | 
[patch|https://github.com/szhou1234/cassandra/commit/b5783abc294564cb1d248f5ceee62a2924113060]


> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CASSANDRA-13467) [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single partition batches

2017-04-21 Thread Simon Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-13467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Zhou updated CASSANDRA-13467:
---
Status: Patch Available  (was: Open)

> [Backport CASSANDRA-10876]: Alter behavior of batch WARN and fail on single 
> partition batches
> -
>
> Key: CASSANDRA-13467
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13467
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Simon Zhou
>Assignee: Simon Zhou
>Priority: Minor
> Fix For: 3.0.x
>
>
> Would anyone think this backport may cause problem? We're running Cassandra 
> 3.0 and hit this problem. There are some other people would like this 
> backport (see the last few comments from CASSANDRA-10876).
> I'll provide the patch soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)