[3/5] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2.0

2012-12-14 Thread aleksey
Merge branch 'cassandra-1.1' into cassandra-1.2.0

Conflicts:
CHANGES.txt
NEWS.txt
build.xml
debian/changelog


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

Branch: refs/heads/trunk
Commit: ab071c505db8e8321ba74a515ba2d966c37bea74
Parents: f4018ea 4885bfc
Author: Aleksey Yeschenko alek...@apache.org
Authored: Fri Dec 14 21:36:40 2012 +0300
Committer: Aleksey Yeschenko alek...@apache.org
Committed: Fri Dec 14 21:36:40 2012 +0300

--
 CHANGES.txt|3 ++-
 .../io/compress/CompressionParameters.java |4 
 2 files changed, 6 insertions(+), 1 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ab071c50/CHANGES.txt
--
diff --cc CHANGES.txt
index d785616,03b62c8..9a9df1b
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,135 -1,24 +1,136 @@@
 -1.1.8
 - * reset getRangeSlice filter after finishing a row for get_paged_slice
 -   (CASSANDRA-4919)
 +1.2.0
 + * cqlsh: add DESCRIBE KEYSPACES command (CASSANDRA-5060)
 +Merged from 1.1:
   * fix temporarily missing schema after upgrade from pre-1.1.5 
(CASSANDRA-5061)
-  * Fix ALTER TABLE overriding compression options with defaults 
(CASSANDRA-4996)
++ * Fix ALTER TABLE overriding compression options with defaults
++   (CASSANDRA-4996, CASSANDRA-5066)
 +
 +
 +1.2-rc1
 + * rename rpc_timeout settings to request_timeout (CASSANDRA-5027)
 + * add BF with 0.1 FP to LCS by default (CASSANDRA-5029)
 + * Fix preparing insert queries (CASSANDRA-5016)
 + * Fix preparing queries with counter increment (CASSANDRA-5022)
 + * Fix preparing updates with collections (CASSANDRA-5017)
 + * Don't generate UUID based on other node address (CASSANDRA-5002)
 + * Fix message when trying to alter a clustering key type (CASSANDRA-5012)
 + * Update IAuthenticator to match the new IAuthorizer (CASSANDRA-5003)
 + * Fix inserting only a key in CQL3 (CASSANDRA-5040)
 + * Fix CQL3 token() function when used with strings (CASSANDRA-5050)
 +Merged from 1.1:
   * reduce log spam from invalid counter shards (CASSANDRA-5026)
   * Improve schema propagation performance (CASSANDRA-5025)
 - * Fall back to old describe_splits if d_s_ex is not available 
(CASSANDRA-4803)
 - * Improve error reporting when streaming ranges fail (CASSANDRA-5009)
 + * Fix for IndexHelper.IndexFor throws OOB Exception (CASSANDRA-5030)
 + * cqlsh: make it possible to describe thrift CFs (CASSANDRA-4827)
   * cqlsh: fix timestamp formatting on some platforms (CASSANDRA-5046)
 - * Fix ALTER TABLE overriding compression options with defaults 
(CASSANDRA-4996, 5066)
 - * Avoid error opening data file on startup (CASSANDRA-4984)
 - * Fix wrong index_options in cli 'show schema' (CASSANDRA-5008)
 - * Allow overriding number of available processor (CASSANDRA-4790)
  
  
 -1.1.7
 - * cqlsh: improve COPY FROM performance (CASSANDRA-4921)
 +1.2-beta3
 + * make consistency level configurable in cqlsh (CASSANDRA-4829)
 + * fix cqlsh rendering of blob fields (CASSANDRA-4970)
 + * fix cqlsh DESCRIBE command (CASSANDRA-4913)
 + * save truncation position in system table (CASSANDRA-4906)
 + * Move CompressionMetadata off-heap (CASSANDRA-4937)
 + * allow CLI to GET cql3 columnfamily data (CASSANDRA-4924)
 + * Fix rare race condition in getExpireTimeForEndpoint (CASSANDRA-4402)
 + * acquire references to overlapping sstables during compaction so bloom 
filter
 +   doesn't get free'd prematurely (CASSANDRA-4934)
 + * Don't share slice query filter in CQL3 SelectStatement (CASSANDRA-4928)
 + * Separate tracing from Log4J (CASSANDRA-4861)
 + * Exclude gcable tombstones from merkle-tree computation (CASSANDRA-4905)
 + * Better printing of AbstractBounds for tracing (CASSANDRA-4931)
 + * Optimize mostRecentTombstone check in CC.collectAllData (CASSANDRA-4883)
 + * Change stream session ID to UUID to avoid collision from same node 
(CASSANDRA-4813)
 + * Use Stats.db when bulk loading if present (CASSANDRA-4957)
 + * Skip repair on system_trace and keyspaces with RF=1 (CASSANDRA-4956)
 + * (cql3) Remove arbitrary SELECT limit (CASSANDRA-4918)
 + * Correctly handle prepared operation on collections (CASSANDRA-4945)
 + * Fix CQL3 LIMIT (CASSANDRA-4877)
 + * Fix Stress for CQL3 (CASSANDRA-4979)
 + * Remove cassandra specific exceptions from JMX interface (CASSANDRA-4893)
 + * (CQL3) Force using ALLOW FILTERING on potentially inefficient queries 
(CASSANDRA-4915)
 + * (cql3) Fix adding column when the table has collections (CASSANDRA-4982)
 + * (cql3) Fix allowing collections with compact storage (CASSANDRA-4990)
 + * (cql3) Refuse 

[3/5] git commit: Merge branch 'cassandra-1.1' into cassandra-1.2.0

2012-11-19 Thread aleksey
Merge branch 'cassandra-1.1' into cassandra-1.2.0

Conflicts:
CHANGES.txt
src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java


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

Branch: refs/heads/trunk
Commit: c00c6ab098d8322e2a3a416f8416152c570c132c
Parents: 8a2fdbf fab61e3
Author: Aleksey Yeschenko alek...@apache.org
Authored: Mon Nov 19 21:46:39 2012 +0300
Committer: Aleksey Yeschenko alek...@apache.org
Committed: Mon Nov 19 21:46:39 2012 +0300

--
 CHANGES.txt|1 +
 .../org/apache/cassandra/hadoop/ConfigHelper.java  |   22 
 .../cassandra/hadoop/pig/CassandraStorage.java |   83 ++
 3 files changed, 82 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c00c6ab0/CHANGES.txt
--
diff --cc CHANGES.txt
index e36bf01,a89184e..6763ba8
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,22 -1,5 +1,23 @@@
 -1.1.7
 +1.2-rc1
 + * fix cqlsh rendering of blob fields (CASSANDRA-4970)
 + * fix cqlsh DESCRIBE command (CASSANDRA-4913)
 + * save truncation position in system table (CASSANDRA-4906)
 + * Move CompressionMetadata off-heap (CASSANDRA-4937)
 + * allow CLI to GET cql3 columnfamily data (CASSANDRA-4924)
 + * Fix rare race condition in getExpireTimeForEndpoint (CASSANDRA-4402)
 + * acquire references to overlapping sstables during compaction so bloom 
filter
 +   doesn't get free'd prematurely (CASSANDRA-4934)
 + * Don't share slice query filter in CQL3 SelectStatement (CASSANDRA-4928)
 + * Separate tracing from Log4J (CASSANDRA-4861)
 + * Exclude gcable tombstones from merkle-tree computation (CASSANDRA-4905)
 + * Better printing of AbstractBounds for tracing (CASSANDRA-4931)
 + * Optimize mostRecentTomstone check in CC.collectAllData (CASSANDRA-4883)
 + * Change stream session ID to UUID to avoid collision from same node 
(CASSANDRA-4813)
 + * Use Stats.db when bulk loading if present (CASSANDRA-4957)
 + * Skip repair on system_trace and keyspaces with RF=1 (CASSANDRA-4956)
 + * Remove select arbitrary limit (CASSANDRA-4918)
 +Merged from 1.1:
+  * add basic authentication support for Pig CassandraStorage (CASSANDRA-3042)
   * fix CQL2 ALTER TABLE compaction_strategy_class altering (CASSANDRA-4965)
   * reset getRangeSlice filter after finishing a row for get_paged_slice
 (CASSANDRA-4919)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c00c6ab0/src/java/org/apache/cassandra/hadoop/ConfigHelper.java
--

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c00c6ab0/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
--
diff --cc src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
index 73e0fb5,c2f1c13..7c459b5
--- a/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
+++ b/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
@@@ -22,19 -21,11 +22,12 @@@ import java.math.BigInteger
  import java.nio.ByteBuffer;
  import java.util.*;
  
- import org.apache.cassandra.db.marshal.AbstractType;
- import org.apache.cassandra.db.marshal.BytesType;
- import org.apache.cassandra.db.marshal.IntegerType;
- import org.apache.cassandra.db.marshal.TypeParser;
 +import org.apache.cassandra.exceptions.ConfigurationException;
 +import org.apache.cassandra.exceptions.SyntaxException;
  import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;
  
+ import org.apache.cassandra.auth.IAuthenticator;
 -import org.apache.cassandra.config.ConfigurationException;
  import org.apache.cassandra.db.Column;
  import org.apache.cassandra.db.IColumn;
  import org.apache.cassandra.db.marshal.*;