Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-8770

Hue should support connecting to Livy when CSRF protection is enabled in Livy

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0, 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: con.spark
    • Labels:
      None

      Description

      Livy supports a configuration parameter in the Livy conf:

      livy.server.csrf-protection.enabled

      ...which is false by default.  But if a Livy admin wants to enable it, Hue cannot support it.  Upon trying to launch a Livy session from the notebook, Hue will pass along the connection error from Livy as a 400 response that the "Missing Required Header for CSRF protection"

      This work should enable Hue to pass the CSRF custom header and also provide for the Hue ini conf to switch this functionality on or off from a conf parameter.{{}}

        Attachments

          Activity

            People

            • Assignee:
              rickbernotas Rick Bernotas
              Reporter:
              rickbernotas Rick Bernotas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: