cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [1/5] cassandra git commit: Deprecate Pig support
Date Fri, 16 Oct 2015 12:28:25 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 e1fb18a00 -> 56cfc6ea3


Deprecate Pig support

patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-10542


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

Branch: refs/heads/cassandra-3.0
Commit: def58031d54fef239a4051201d097349da05ad50
Parents: 94a7d06
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Fri Oct 16 13:16:49 2015 +0100
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Fri Oct 16 13:16:49 2015 +0100

----------------------------------------------------------------------
 CHANGES.txt                                                    | 1 +
 NEWS.txt                                                       | 5 +++++
 src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java | 2 +-
 src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java    | 1 +
 4 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/def58031/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 9a0baaa..632e262 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.2.4
+ * Deprecate Pig support (CASSANDRA-10542)
  * Reduce contention getting instances of CompositeType (CASSANDRA-10433)
 Merged from 2.1:
  * (cqlsh) Distinguish negative and positive infinity in output (CASSANDRA-10523)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/def58031/NEWS.txt
----------------------------------------------------------------------
diff --git a/NEWS.txt b/NEWS.txt
index a235a1d..4fa61c0 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -16,6 +16,11 @@ using the provided 'sstableupgrade' tool.
 2.2.4
 =====
 
+Deprecation
+-----------
+    - Pig support has been deprecated, and will be removed in 3.0.
+      Please see CASSANDRA-10542 for more details.
+
 Operations
 ----------
     - Switching racks is no longer an allowed operation on a node which has

http://git-wip-us.apache.org/repos/asf/cassandra/blob/def58031/src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java b/src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java
index bdf99a0..ba0a37d 100644
--- a/src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java
+++ b/src/java/org/apache/cassandra/hadoop/pig/CqlNativeStorage.java
@@ -61,7 +61,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.yaml.snakeyaml.external.biz.base64Coder.Base64Coder;
 
-
+@Deprecated
 public class CqlNativeStorage extends LoadFunc implements StoreFuncInterface, LoadMetadata
 {
     protected String DEFAULT_INPUT_FORMAT;

http://git-wip-us.apache.org/repos/asf/cassandra/blob/def58031/src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java b/src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java
index 66836b2..d700cb7 100644
--- a/src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java
+++ b/src/java/org/apache/cassandra/hadoop/pig/StorageHelper.java
@@ -16,6 +16,7 @@ import org.apache.pig.data.DataByteArray;
 import org.apache.pig.data.DataType;
 import org.apache.pig.data.Tuple;
 
+@Deprecated
 public class StorageHelper
 {
     // system environment variables that can be set to configure connection info:


Mime
View raw message