Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-17609: mark deprecation of HDFS module in 9x and removal in 10 #3041

Merged
merged 4 commits into from
Feb 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Deprecate HDFS Module with warning about removal in Solr 10
epugh committed Jan 17, 2025

Verified

This commit was signed with the committer’s verified signature.
epugh Eric Pugh
commit a38d07f94b8818b7415939e1c30472739b27e128
Original file line number Diff line number Diff line change
@@ -79,6 +79,11 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
*
* @deprecated The Solr HDFS Module will be removed in Solr 10 with no replacement.
*/
@Deprecated(forRemoval = true,since = "9.9")
public class HdfsDirectoryFactory extends CachingDirectoryFactory
implements SolrCoreAware, SolrMetricProducer {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Original file line number Diff line number Diff line change
@@ -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 retired 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: