[ 
https://issues.apache.org/jira/browse/SOLR-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-6372:
---------------------------------
    Comment: was deleted

(was: Commit 1681361 from [~erickoerickson] in branch 'dev/trunk'
[ https://svn.apache.org/r1681361 ]

SOLR-6372: Cross Data Center Replication disabling noisy tests until we figure 
it out)

> HdfsDirectoryFactory should use supplied Configuration for communicating with 
> secure kerberos
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6372
>                 URL: https://issues.apache.org/jira/browse/SOLR-6372
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.4, Trunk
>            Reporter: Gregory Chanan
>            Assignee: Mark Miller
>             Fix For: 4.10, Trunk
>
>         Attachments: SOLR-6372.patch
>
>
> When setting the UserGroupInformation's Configuration, HdfsDirectorFactory 
> creates a new Configuration, see here:
> https://github.com/apache/lucene-solr/blob/44f0dd7599901ba4d3625b5da8b998858e198d67/solr/core/src/java/org/apache/solr/core/HdfsDirectoryFactory.java#L306
> The issue with this is when it's used to set the UserGroupInformation 
> configuration, it can overwrite any existing configuration, which may have 
> other (server) settings like kerberos rules. Ideally there would be separate 
> client/servers interfaces so this wouldn't be an issue.  But lacking that, 
> using the passed in Configuration allows the user to always specify all 
> necessary settings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to