[
https://issues.apache.org/jira/browse/CAMEL-6142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6142.
--------------------------------
Resolution: Fixed
> camel-hdfs - Preserve auth as Hadoop overrides that and cause sideeffects for
> auth afterwards
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-6142
> URL: https://issues.apache.org/jira/browse/CAMEL-6142
> Project: Camel
> Issue Type: Improvement
> Components: camel-hdfs, karaf, osgi
> Affects Versions: 2.10.4
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.10.5, 2.11.0
>
>
> Somewhere in the massive code of Hadoop it override and set the auth
> configuartion to
> {code}
> javax.security.auth.login.Configuration.setConfiguration(new
> HadoopConfiguration())
> {code}
> Which causes camel-hdfs to not work in environments with Auth, such as Karaf
> et all.
> We would have to keep and restore the current auth when using camel-hdfs to
> ensure the auth is restored after using hadoop, so Karaf still works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira