Hello, I'm trying to acces Spark History UI through Apache Knox proxy but I get this error the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at [ https://ithdpdev-ekleszcz01.cern.ch:18080/api/v1/applications?limit=2147483647&status=completed | https://<spark-host>:18080/api/v1/applications?limit=2147483647&status=completed ] . (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 302. I can' t find something related to CORS in Spark do you know how I could fix that ? Someone suggested the following parameters but it didn't work and I can't manage to find any reference to those online: spark.hadoop.http.cross-origin.allowed-origins = * spark.hadoop.http.cross-origin.allowed-methods = GET, PUT, POST, OPTIONS, HEAD, DELETE spark.hadoop.http.cross-origin.allowed-headers = X-Requested-With, Content-Type, Accept, Origin, WWW-Authenticate, Accept-Encoding, Transfer-Encoding spark.hadoop.http.cross-origin.max-age = 180 Thanks for your answer