-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip kerberos out of the hdfs module
- Loading branch information
Showing
2 changed files
with
1 addition
and
70 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
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,15 +276,3 @@ 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> | ||
---- |