Skip to content

Commit 7e9ce82

Browse files
epughHoustonPutman
andauthored
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]>
1 parent 8cca2b2 commit 7e9ce82

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

solr/modules/hdfs/src/java/org/apache/solr/hdfs/HdfsDirectoryFactory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
import org.slf4j.Logger;
8080
import org.slf4j.LoggerFactory;
8181

82+
/**
83+
* @deprecated The Solr HDFS Module will be removed in Solr 10 with no replacement.
84+
*/
85+
@Deprecated(since = "9.9")
8286
public class HdfsDirectoryFactory extends CachingDirectoryFactory
8387
implements SolrCoreAware, SolrMetricProducer {
8488
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

solr/solr-ref-guide/modules/deployment-guide/pages/solr-on-hdfs.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
The Solr HDFS Module has support for writing and reading Solr's index and transaction log files to the HDFS distributed filesystem.
2121
It does not use Hadoop MapReduce to process Solr data.
2222

23+
IMPORTANT: The HDFS Module has been deprecated and will be removed in Solr 10.
24+
2325
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`.
2426
There are also several additional parameters to define.
2527
These can be set in one of three ways:

0 commit comments

Comments
 (0)