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

Open
wants to merge 3 commits into
base: branch_9x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is asciidoc markup for important notices

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe IMPORTANT is ascii doc, it does some extra formatting in the HTML to pop. NOTE is another one.


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:
Expand Down
Loading