Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6142

camel-hdfs - Preserve auth as Hadoop overrides that and cause sideeffects for auth afterwards

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.4
    • 2.10.5, 2.11.0
    • camel-hdfs, karaf, osgi
    • None
    • Unknown

    Description

      Somewhere in the massive code of Hadoop it override and set the auth configuartion to

      javax.security.auth.login.Configuration.setConfiguration(new HadoopConfiguration())
      

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: