This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 7e9ce82ace4 SOLR-17609: mark deprecation of HDFS module in 9x and
removal in 10 (#3041)
7e9ce82ace4 is described below
commit 7e9ce82ace42b3273e4a8827a7d6dd15fc479f7e
Author: Eric Pugh <[email protected]>
AuthorDate: Mon Feb 17 05:01:47 2025 -0500
SOLR-17609: mark deprecation of HDFS module in 9x and removal in 10 (#3041)
* Deprecate HDFS Module with warning about removal in Solr 10
* Update
solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc
---------
Co-authored-by: Houston Putman <[email protected]>
---
.../hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java | 4 ++++
solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc | 2 ++
2 files changed, 6 insertions(+)
diff --git
a/solr/modules/hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java
b/solr/modules/hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java
index dade59c1b62..67464d230db 100644
--- a/solr/modules/hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java
+++ b/solr/modules/hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java
@@ -79,6 +79,10 @@ import org.apache.solr.util.plugin.SolrCoreAware;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+/**
+ * @deprecated The Solr HDFS Module will be removed in Solr 10 with no
replacement.
+ */
+@Deprecated(since = "9.9")
public class HdfsDirectoryFactory extends CachingDirectoryFactory
implements SolrCoreAware, SolrMetricProducer {
private static final Logger log =
LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
diff --git
a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc
b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc
index 377ad83fba9..e3caae05878 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc
@@ -20,6 +20,8 @@
The Solr HDFS Module has support for writing and reading Solr's index and
transaction log files to the HDFS distributed filesystem.
It does not use Hadoop MapReduce to process Solr data.
+IMPORTANT: The HDFS Module has been deprecated and will be removed in Solr 10.
+
To use HDFS rather than a local filesystem, you must be using Hadoop 2.x and
you will need to instruct Solr to use the `HdfsDirectoryFactory`.
There are also several additional parameters to define.
These can be set in one of three ways: