From b7eaa2d209406f489776f47634257fbaa48c4dca Mon Sep 17 00:00:00 2001 From: Stefan Miklosovic Date: Fri, 10 Mar 2023 11:28:59 +0100 Subject: [PATCH] Deprecate org.apache.cassandra.hadoop code patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-16984 --- CHANGES.txt | 1 + NEWS.txt | 5 ++++ .../apache/cassandra/hadoop/package-info.java | 23 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 src/java/org/apache/cassandra/hadoop/package-info.java diff --git a/CHANGES.txt b/CHANGES.txt index beea5ba21f..50836a9004 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.1.1 + * Deprecate org.apache.cassandra.hadoop code (CASSANDRA-16984) * Fix too early schema version change in sysem local table (CASSANDRA-18291) * Fix copying of JAR of a trigger to temporary file (CASSANDRA-18264) * Fix possible NoSuchFileException when removing a snapshot (CASSANDRA-18211) diff --git a/NEWS.txt b/NEWS.txt index 6dea4a07a0..0930ac0cea 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -70,6 +70,11 @@ Upgrading 4.1.0 or 4.0.0-4.0.7. If that is your case, please use protocol v4 or higher in your driver. See CASSANDRA-17507 for further details. +Deprecation +----------- + - Hadoop integration in package org.apache.cassandra.hadoop is deprecated and no longer actively maintained. + This code is scheduled to be removed in the next major version of Cassandra. + 4.1 === diff --git a/src/java/org/apache/cassandra/hadoop/package-info.java b/src/java/org/apache/cassandra/hadoop/package-info.java new file mode 100644 index 0000000000..835165b738 --- /dev/null +++ b/src/java/org/apache/cassandra/hadoop/package-info.java @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This package was deprecated. See CASSANDRA-16984. + */ +@Deprecated +package org.apache.cassandra.hadoop; \ No newline at end of file