Skip to content

Commit

Permalink
restore removed docs that are still relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 24, 2024
1 parent 66d5d1d commit 716ee09
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,15 @@ Here is a sample `solrconfig.xml` configuration for storing Solr indexes on HDFS
<int name="solr.hdfs.nrtcachingdirectory.maxcachedmb">192</int>
</directoryFactory>
----

If using Kerberos, you will need to add the three Kerberos related properties to the `<directoryFactory>` element in `solrconfig.xml`, such as:

[source,xml]
----
<directoryFactory name="DirectoryFactory" class="solr.HdfsDirectoryFactory">
...
<bool name="solr.hdfs.security.kerberos.enabled">true</bool>
<str name="solr.hdfs.security.kerberos.keytabfile">/etc/krb5.keytab</str>
<str name="solr.hdfs.security.kerberos.principal">solr/[email protected]</str>
</directoryFactory>
----

0 comments on commit 716ee09

Please sign in to comment.