You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2014/02/28 16:46:36 UTC
[1/6] git commit: Pool CqlRecordWriter clients by inetaddress rather
than Range patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Repository: cassandra
Updated Branches:
refs/heads/cassandra-2.0 33c75e92e -> cdd3625db
refs/heads/cassandra-2.1 15728ad8d -> 38a3181b0
refs/heads/trunk 1b644140c -> b23d6ba0b
Pool CqlRecordWriter clients by inetaddress rather than Range
patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cdd3625d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cdd3625d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cdd3625d
Branch: refs/heads/cassandra-2.0
Commit: cdd3625db6a2fed0735329cc1571c72dbab47b64
Parents: 33c75e9
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:44:51 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:44:51 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 2 ++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8e439c6..65de68d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,6 @@
2.0.6
+ * Pool CqlRecordWriter clients by inetaddress rather than Range
+ (CASSANDRA-6665)
* Compare scores of full replica ordering in DES (CASSANDRA-6883)
* fix CME in SessionInfo updateProgress affecting netstats (CASSANDRA-6577)
* Allow repairing between specific replicas (CASSANDRA-6440)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index e2b90f1..690ef2e 100644
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@ -65,7 +65,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
private static final Logger logger = LoggerFactory.getLogger(CqlRecordWriter.class);
// handles for clients for each range running in the threadpool
- private final Map<Range, RangeClient> clients;
+ private final Map<InetAddress, RangeClient> clients;
// host to prepared statement id mappings
private ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
@@ -98,7 +98,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
CqlRecordWriter(Configuration conf)
{
super(conf);
- this.clients = new HashMap<Range, RangeClient>();
+ this.clients = new HashMap<>();
try
{
@@ -163,13 +163,14 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
Range<Token> range = ringCache.getRange(getPartitionKey(keyColumns));
// get the client for the given range, or create a new one
- RangeClient client = clients.get(range);
+ final InetAddress address = ringCache.getEndpoint(range).get(0);
+ RangeClient client = clients.get(address);
if (client == null)
{
// haven't seen keys for this range: create new client
client = new RangeClient(ringCache.getEndpoint(range));
client.start();
- clients.put(range, client);
+ clients.put(address, client);
}
// add primary key columns to the bind variables
[2/6] git commit: Pool CqlRecordWriter clients by inetaddress rather
than Range patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Posted by jb...@apache.org.
Pool CqlRecordWriter clients by inetaddress rather than Range
patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cdd3625d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cdd3625d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cdd3625d
Branch: refs/heads/cassandra-2.1
Commit: cdd3625db6a2fed0735329cc1571c72dbab47b64
Parents: 33c75e9
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:44:51 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:44:51 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 2 ++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8e439c6..65de68d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,6 @@
2.0.6
+ * Pool CqlRecordWriter clients by inetaddress rather than Range
+ (CASSANDRA-6665)
* Compare scores of full replica ordering in DES (CASSANDRA-6883)
* fix CME in SessionInfo updateProgress affecting netstats (CASSANDRA-6577)
* Allow repairing between specific replicas (CASSANDRA-6440)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index e2b90f1..690ef2e 100644
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@ -65,7 +65,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
private static final Logger logger = LoggerFactory.getLogger(CqlRecordWriter.class);
// handles for clients for each range running in the threadpool
- private final Map<Range, RangeClient> clients;
+ private final Map<InetAddress, RangeClient> clients;
// host to prepared statement id mappings
private ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
@@ -98,7 +98,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
CqlRecordWriter(Configuration conf)
{
super(conf);
- this.clients = new HashMap<Range, RangeClient>();
+ this.clients = new HashMap<>();
try
{
@@ -163,13 +163,14 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
Range<Token> range = ringCache.getRange(getPartitionKey(keyColumns));
// get the client for the given range, or create a new one
- RangeClient client = clients.get(range);
+ final InetAddress address = ringCache.getEndpoint(range).get(0);
+ RangeClient client = clients.get(address);
if (client == null)
{
// haven't seen keys for this range: create new client
client = new RangeClient(ringCache.getEndpoint(range));
client.start();
- clients.put(range, client);
+ clients.put(address, client);
}
// add primary key columns to the bind variables
[4/6] git commit: merge from 2.0
Posted by jb...@apache.org.
merge from 2.0
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/38a3181b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/38a3181b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/38a3181b
Branch: refs/heads/trunk
Commit: 38a3181b04ffddfdbbd7d704d65496cff7c95d4b
Parents: 15728ad cdd3625
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:46:19 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:46:19 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 4 ++++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/38a3181b/CHANGES.txt
----------------------------------------------------------------------
diff --cc CHANGES.txt
index 2bb67dd,65de68d..ac3dd3f
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,52 -1,6 +1,56 @@@
-2.0.6
+2.1.0-beta2
+ * Fix overflow of memtable_total_space_in_mb (CASSANDRA-6573)
+ * Fix ABTC NPE (CASSANDRA-6692)
+ * Allow nodetool to use a file or prompt for password (CASSANDRA-6660)
+ * Fix AIOOBE when concurrently accessing ABSC (CASSANDRA-6742)
+ * Fix assertion error in ALTER TYPE RENAME (CASSANDRA-6705)
+ * Scrub should not always clear out repaired status (CASSANDRA-5351)
+ * Improve handling of range tombstone for wide partitions (CASSANDRA-6446)
+ * Fix ClassCastException for compact table with composites (CASSANDRA-6738)
++Merged from 2.0:
+ * Pool CqlRecordWriter clients by inetaddress rather than Range
+ (CASSANDRA-6665)
++
+
+2.1.0-beta1
+ * Add flush directory distinct from compaction directories (CASSANDRA-6357)
+ * Require JNA by default (CASSANDRA-6575)
+ * add listsnapshots command to nodetool (CASSANDRA-5742)
+ * Introduce AtomicBTreeColumns (CASSANDRA-6271, 6692)
+ * Multithreaded commitlog (CASSANDRA-3578)
+ * allocate fixed index summary memory pool and resample cold index summaries
+ to use less memory (CASSANDRA-5519)
+ * Removed multithreaded compaction (CASSANDRA-6142)
+ * Parallelize fetching rows for low-cardinality indexes (CASSANDRA-1337)
+ * change logging from log4j to logback (CASSANDRA-5883)
+ * switch to LZ4 compression for internode communication (CASSANDRA-5887)
+ * Stop using Thrift-generated Index* classes internally (CASSANDRA-5971)
+ * Remove 1.2 network compatibility code (CASSANDRA-5960)
+ * Remove leveled json manifest migration code (CASSANDRA-5996)
+ * Remove CFDefinition (CASSANDRA-6253)
+ * Use AtomicIntegerFieldUpdater in RefCountedMemory (CASSANDRA-6278)
+ * User-defined types for CQL3 (CASSANDRA-5590)
+ * Use of o.a.c.metrics in nodetool (CASSANDRA-5871, 6406)
+ * Batch read from OTC's queue and cleanup (CASSANDRA-1632)
+ * Secondary index support for collections (CASSANDRA-4511, 6383)
+ * SSTable metadata(Stats.db) format change (CASSANDRA-6356)
+ * Push composites support in the storage engine
+ (CASSANDRA-5417, CASSANDRA-6520)
+ * Add snapshot space used to cfstats (CASSANDRA-6231)
+ * Add cardinality estimator for key count estimation (CASSANDRA-5906)
+ * CF id is changed to be non-deterministic. Data dir/key cache are created
+ uniquely for CF id (CASSANDRA-5202)
+ * New counters implementation (CASSANDRA-6504)
+ * Replace UnsortedColumns, EmptyColumns, TreeMapBackedSortedColumns with new
+ ArrayBackedSortedColumns (CASSANDRA-6630, CASSANDRA-6662, CASSANDRA-6690)
+ * Add option to use row cache with a given amount of rows (CASSANDRA-5357)
+ * Avoid repairing already repaired data (CASSANDRA-5351)
+ * Reject counter updates with USING TTL/TIMESTAMP (CASSANDRA-6649)
+ * Replace index_interval with min/max_index_interval (CASSANDRA-6379)
+ * Lift limitation that order by columns must be selected for IN queries (CASSANDRA-4911)
+
+
+2.0.6
* Compare scores of full replica ordering in DES (CASSANDRA-6883)
* fix CME in SessionInfo updateProgress affecting netstats (CASSANDRA-6577)
* Allow repairing between specific replicas (CASSANDRA-6440)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/38a3181b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --cc src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index 9742762,690ef2e..826fc0d
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@@ -65,16 -65,16 +65,16 @@@ class CqlRecordWriter extends AbstractC
private static final Logger logger = LoggerFactory.getLogger(CqlRecordWriter.class);
// handles for clients for each range running in the threadpool
- protected final Map<Range, RangeClient> clients;
- private final Map<InetAddress, RangeClient> clients;
++ protected final Map<InetAddress, RangeClient> clients;
// host to prepared statement id mappings
- private ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
+ protected final ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
- private final String cql;
+ protected final String cql;
- private AbstractType<?> keyValidator;
- private String [] partitionKeyColumns;
- private List<String> clusterColumns;
+ protected AbstractType<?> keyValidator;
+ protected String [] partitionKeyColumns;
+ protected List<String> clusterColumns;
/**
* Upon construction, obtain the map that this writer will use to collect
[6/6] git commit: Merge branch 'cassandra-2.1' into trunk
Posted by jb...@apache.org.
Merge branch 'cassandra-2.1' into trunk
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b23d6ba0
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b23d6ba0
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b23d6ba0
Branch: refs/heads/trunk
Commit: b23d6ba0b3c7263b14ec785f898d19fb7ffa553b
Parents: 1b64414 38a3181
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:46:26 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:46:26 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 4 ++++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/b23d6ba0/CHANGES.txt
----------------------------------------------------------------------
[3/6] git commit: Pool CqlRecordWriter clients by inetaddress rather
than Range patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Posted by jb...@apache.org.
Pool CqlRecordWriter clients by inetaddress rather than Range
patch by Christian Rolf; reviewed by jbellis for CASSANDRA-6665
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cdd3625d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cdd3625d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cdd3625d
Branch: refs/heads/trunk
Commit: cdd3625db6a2fed0735329cc1571c72dbab47b64
Parents: 33c75e9
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:44:51 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:44:51 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 2 ++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8e439c6..65de68d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,6 @@
2.0.6
+ * Pool CqlRecordWriter clients by inetaddress rather than Range
+ (CASSANDRA-6665)
* Compare scores of full replica ordering in DES (CASSANDRA-6883)
* fix CME in SessionInfo updateProgress affecting netstats (CASSANDRA-6577)
* Allow repairing between specific replicas (CASSANDRA-6440)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/cdd3625d/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index e2b90f1..690ef2e 100644
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@ -65,7 +65,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
private static final Logger logger = LoggerFactory.getLogger(CqlRecordWriter.class);
// handles for clients for each range running in the threadpool
- private final Map<Range, RangeClient> clients;
+ private final Map<InetAddress, RangeClient> clients;
// host to prepared statement id mappings
private ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
@@ -98,7 +98,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
CqlRecordWriter(Configuration conf)
{
super(conf);
- this.clients = new HashMap<Range, RangeClient>();
+ this.clients = new HashMap<>();
try
{
@@ -163,13 +163,14 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
Range<Token> range = ringCache.getRange(getPartitionKey(keyColumns));
// get the client for the given range, or create a new one
- RangeClient client = clients.get(range);
+ final InetAddress address = ringCache.getEndpoint(range).get(0);
+ RangeClient client = clients.get(address);
if (client == null)
{
// haven't seen keys for this range: create new client
client = new RangeClient(ringCache.getEndpoint(range));
client.start();
- clients.put(range, client);
+ clients.put(address, client);
}
// add primary key columns to the bind variables
[5/6] git commit: merge from 2.0
Posted by jb...@apache.org.
merge from 2.0
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/38a3181b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/38a3181b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/38a3181b
Branch: refs/heads/cassandra-2.1
Commit: 38a3181b04ffddfdbbd7d704d65496cff7c95d4b
Parents: 15728ad cdd3625
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Feb 28 09:46:19 2014 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Feb 28 09:46:19 2014 -0600
----------------------------------------------------------------------
CHANGES.txt | 4 ++++
.../org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/38a3181b/CHANGES.txt
----------------------------------------------------------------------
diff --cc CHANGES.txt
index 2bb67dd,65de68d..ac3dd3f
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,52 -1,6 +1,56 @@@
-2.0.6
+2.1.0-beta2
+ * Fix overflow of memtable_total_space_in_mb (CASSANDRA-6573)
+ * Fix ABTC NPE (CASSANDRA-6692)
+ * Allow nodetool to use a file or prompt for password (CASSANDRA-6660)
+ * Fix AIOOBE when concurrently accessing ABSC (CASSANDRA-6742)
+ * Fix assertion error in ALTER TYPE RENAME (CASSANDRA-6705)
+ * Scrub should not always clear out repaired status (CASSANDRA-5351)
+ * Improve handling of range tombstone for wide partitions (CASSANDRA-6446)
+ * Fix ClassCastException for compact table with composites (CASSANDRA-6738)
++Merged from 2.0:
+ * Pool CqlRecordWriter clients by inetaddress rather than Range
+ (CASSANDRA-6665)
++
+
+2.1.0-beta1
+ * Add flush directory distinct from compaction directories (CASSANDRA-6357)
+ * Require JNA by default (CASSANDRA-6575)
+ * add listsnapshots command to nodetool (CASSANDRA-5742)
+ * Introduce AtomicBTreeColumns (CASSANDRA-6271, 6692)
+ * Multithreaded commitlog (CASSANDRA-3578)
+ * allocate fixed index summary memory pool and resample cold index summaries
+ to use less memory (CASSANDRA-5519)
+ * Removed multithreaded compaction (CASSANDRA-6142)
+ * Parallelize fetching rows for low-cardinality indexes (CASSANDRA-1337)
+ * change logging from log4j to logback (CASSANDRA-5883)
+ * switch to LZ4 compression for internode communication (CASSANDRA-5887)
+ * Stop using Thrift-generated Index* classes internally (CASSANDRA-5971)
+ * Remove 1.2 network compatibility code (CASSANDRA-5960)
+ * Remove leveled json manifest migration code (CASSANDRA-5996)
+ * Remove CFDefinition (CASSANDRA-6253)
+ * Use AtomicIntegerFieldUpdater in RefCountedMemory (CASSANDRA-6278)
+ * User-defined types for CQL3 (CASSANDRA-5590)
+ * Use of o.a.c.metrics in nodetool (CASSANDRA-5871, 6406)
+ * Batch read from OTC's queue and cleanup (CASSANDRA-1632)
+ * Secondary index support for collections (CASSANDRA-4511, 6383)
+ * SSTable metadata(Stats.db) format change (CASSANDRA-6356)
+ * Push composites support in the storage engine
+ (CASSANDRA-5417, CASSANDRA-6520)
+ * Add snapshot space used to cfstats (CASSANDRA-6231)
+ * Add cardinality estimator for key count estimation (CASSANDRA-5906)
+ * CF id is changed to be non-deterministic. Data dir/key cache are created
+ uniquely for CF id (CASSANDRA-5202)
+ * New counters implementation (CASSANDRA-6504)
+ * Replace UnsortedColumns, EmptyColumns, TreeMapBackedSortedColumns with new
+ ArrayBackedSortedColumns (CASSANDRA-6630, CASSANDRA-6662, CASSANDRA-6690)
+ * Add option to use row cache with a given amount of rows (CASSANDRA-5357)
+ * Avoid repairing already repaired data (CASSANDRA-5351)
+ * Reject counter updates with USING TTL/TIMESTAMP (CASSANDRA-6649)
+ * Replace index_interval with min/max_index_interval (CASSANDRA-6379)
+ * Lift limitation that order by columns must be selected for IN queries (CASSANDRA-4911)
+
+
+2.0.6
* Compare scores of full replica ordering in DES (CASSANDRA-6883)
* fix CME in SessionInfo updateProgress affecting netstats (CASSANDRA-6577)
* Allow repairing between specific replicas (CASSANDRA-6440)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/38a3181b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --cc src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index 9742762,690ef2e..826fc0d
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@@ -65,16 -65,16 +65,16 @@@ class CqlRecordWriter extends AbstractC
private static final Logger logger = LoggerFactory.getLogger(CqlRecordWriter.class);
// handles for clients for each range running in the threadpool
- protected final Map<Range, RangeClient> clients;
- private final Map<InetAddress, RangeClient> clients;
++ protected final Map<InetAddress, RangeClient> clients;
// host to prepared statement id mappings
- private ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
+ protected final ConcurrentHashMap<Cassandra.Client, Integer> preparedStatements = new ConcurrentHashMap<Cassandra.Client, Integer>();
- private final String cql;
+ protected final String cql;
- private AbstractType<?> keyValidator;
- private String [] partitionKeyColumns;
- private List<String> clusterColumns;
+ protected AbstractType<?> keyValidator;
+ protected String [] partitionKeyColumns;
+ protected List<String> clusterColumns;
/**
* Upon construction, obtain the map that this writer will use to collect