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:40 UTC

[5/6] git commit: merge from 2.0

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