-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore removed docs that are still relevant
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
---- |