<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391296#M247554</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111968"&gt;@TMauran&lt;/a&gt;&lt;BR /&gt;If you're using firefox, turn off enhanced tracking protection.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 10:34:48 GMT</pubDate>
    <dc:creator>cloude</dc:creator>
    <dc:date>2024-08-02T10:34:48Z</dc:date>
    <item>
      <title>Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391271#M247542</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm trying to acces Spark History UI through Apache Knox proxy but I get this error the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="message-body-wrapper"&gt;&lt;SPAN class="message-flex-body"&gt;&lt;SPAN class="message-body devtools-monospace"&gt;&lt;SPAN class="objectBox objectBox-string"&gt;Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at &lt;A class="url" title="https://ithdpdev-ekleszcz01.cern.ch:18080/api/v1/applications?limit=2147483647&amp;amp;status=completed" href="https://ithdpdev-ekleszcz01.cern.ch:18080/api/v1/applications?limit=2147483647&amp;amp;status=completed" target="_blank" rel="noopener noreferrer"&gt;https://&amp;lt;spark-host&amp;gt;:18080/api/v1/applications?limit=2147483647&amp;amp;status=completed&lt;/A&gt;. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 302.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I can' t find something related to CORS in Spark do you know how I could fix that ?&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 15:45:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391271#M247542</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-08-01T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391296#M247554</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111968"&gt;@TMauran&lt;/a&gt;&lt;BR /&gt;If you're using firefox, turn off enhanced tracking protection.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:34:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391296#M247554</guid>
      <dc:creator>cloude</dc:creator>
      <dc:date>2024-08-02T10:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391300#M247556</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31734"&gt;@cloude&lt;/a&gt; thank you for your answer, I disabled it and still got the error, tried on chrome too here is the error message in chrome,&lt;BR /&gt;&lt;BR /&gt;Access to XMLHttpRequest at '&lt;A href="https://spark-host:18080/api/v1/applications?limit=2147483647&amp;amp;status=completed" target="_blank"&gt;https://spark-host:18080/api/v1/applications?limit=2147483647&amp;amp;status=completed&lt;/A&gt;' from origin '&lt;A href="https://knox-host:8443" target="_blank"&gt;https://knox-host:8443&lt;/A&gt;' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;BR /&gt;&lt;BR /&gt;Do you have any other idea ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:42:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391300#M247556</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-08-02T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391328#M247567</link>
      <description>&lt;P&gt;Can you try setting below properties and restart history server ?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;History Server Advanced Configuration Snippet (Safety Valve) for spark-conf/spark-history-server.conf" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.hadoop.http.cross-origin.allowed-origins = * &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.hadoop.http.cross-origin.allowed-methods = GET, PUT, POST, OPTIONS, HEAD, DELETE &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.hadoop.http.cross-origin.allowed-headers = X-Requested-With, Content-Type, Accept, Origin, WWW-Authenticate, Accept-Encoding, Transfer-Encoding &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.hadoop.http.cross-origin.max-age = 180 &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 04:23:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391328#M247567</guid>
      <dc:creator>cloude</dc:creator>
      <dc:date>2024-08-03T04:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391337#M247572</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111968"&gt;@TMauran&lt;/a&gt;&amp;nbsp;Let me know if its resolve, please accept as solution so that it will be helpful for others as well.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 02:13:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391337#M247572</guid>
      <dc:creator>cloude</dc:creator>
      <dc:date>2024-08-05T02:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spark History CORS header ‘Access-Control-Allow-Origin’ missing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391343#M247575</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31734"&gt;@cloude&lt;/a&gt; even after adding those parameters I get the 302 error, wondering if the issue is not on the Knox part though now but thank you very much for your answer&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 07:01:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-History-CORS-header-Access-Control-Allow-Origin/m-p/391343#M247575</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-08-05T07:01:16Z</dc:date>
    </item>
  </channel>
</rss>

