<?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: YARN Exception: Could not determine the proxy server for redirection in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214719#M176631</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Ok, thanks for the hint, that seems to be the reason!&lt;/P&gt;&lt;P&gt;How can I find out which is the latest build number of 2.6.3.0? I checked the github repo (&lt;A href="https://github.com/hortonworks/hadoop-release/releases"&gt;https://github.com/hortonworks/hadoop-release/releases&lt;/A&gt;) but the numbering is a bit confusing.&lt;/P&gt;&lt;P&gt;I can see that the latest release of 2.6.3 is 2.6.3.36 but which build number is this? And is it possible to upgrade the installed build of 2.6.3 (build 235 in our case) to the latest version of 2.6.3?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 18:21:40 GMT</pubDate>
    <dc:creator>alex_schaetzle</dc:creator>
    <dc:date>2018-04-10T18:21:40Z</dc:date>
    <item>
      <title>YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214717#M176629</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/68384-yarn-site.xml"&gt;yarn-site.xml&lt;/A&gt;&lt;BR /&gt;We are running a cluster with HDP 2.6.3.0-235.&lt;BR /&gt;YARN is configured for HA with two Resourcemanagers.&lt;/P&gt;&lt;P&gt;When I run a spark-shell session and want to access the tracking URL of the Spark UI on the server where I started the spark-shell, I get the following error:&lt;/P&gt;&lt;PRE&gt;HTTP ERROR 500
Problem accessing /. Reason:
    Server Error
Caused by:
javax.servlet.ServletException: Could not determine the proxy server for redirection
	at org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter.findRedirectUrl(AmIpFilter.java:205)
	at org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter.doFilter(AmIpFilter.java:145)
	at org.spark_project.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
	at org.spark_project.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
	at org.spark_project.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.spark_project.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
	at org.spark_project.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.spark_project.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.spark_project.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:461)
	at org.spark_project.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at org.spark_project.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.spark_project.jetty.server.Server.handle(Server.java:524)
	at org.spark_project.jetty.server.HttpChannel.handle(HttpChannel.java:319)
	at org.spark_project.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
	at org.spark_project.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.spark_project.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at org.spark_project.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.spark_project.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.spark_project.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.spark_project.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.spark_project.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.spark_project.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt;&lt;P&gt;However, the shell is working fine and I can also access the Spark UI following the link to the ApplicationMaster in the Resourcemanager UI.&lt;/P&gt;&lt;P&gt;We didn't have this problem before and I assume it started to exist after configuring YARN for HA (using Ambari wizzard).&lt;BR /&gt;Attached you can find the yarn-site.xml (exported with Ambari).&lt;/P&gt;&lt;P&gt;Is there any misconfiguration or does somebody know this problem?&lt;/P&gt;&lt;P&gt;Thx,&lt;BR /&gt;Alex&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 19:52:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214717#M176629</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-04-09T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214718#M176630</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/62445/alexanderschaetzle.html" nodeid="62445"&gt;@Alexander Schätzle&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We had a jira for the same issue - &lt;A href="https://issues.apache.org/jira/browse/YARN-7269" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-7269&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The fix went into HDP -2.6.3.0. But I am not sure about the exact build number. May be you can try with HDP-2.6.4.0 repo.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 03:43:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214718#M176630</guid>
      <dc:creator>ssathish</dc:creator>
      <dc:date>2018-04-10T03:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214719#M176631</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Ok, thanks for the hint, that seems to be the reason!&lt;/P&gt;&lt;P&gt;How can I find out which is the latest build number of 2.6.3.0? I checked the github repo (&lt;A href="https://github.com/hortonworks/hadoop-release/releases"&gt;https://github.com/hortonworks/hadoop-release/releases&lt;/A&gt;) but the numbering is a bit confusing.&lt;/P&gt;&lt;P&gt;I can see that the latest release of 2.6.3 is 2.6.3.36 but which build number is this? And is it possible to upgrade the installed build of 2.6.3 (build 235 in our case) to the latest version of 2.6.3?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214719#M176631</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-04-10T18:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214720#M176632</link>
      <description>&lt;P&gt;Another question. The release notes of HDP 2.6.3 lists the patch for YARN-7269 as included in HDP 2.6.3. Should this not mean that it is included in the "official" version in the public repo? The build version in the public repo is 235. So if the patch is not included in build number 235, is the information in the release notes than not very confusing or even incorrect?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:36:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214720#M176632</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-04-10T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214721#M176633</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I checked the source code of HDP 2.6.3.0-235 and I see that the code changes applied in the patch for &lt;A href="https://issues.apache.org/jira/browse/YARN-7269."&gt;https://issues.apache.org/jira/browse/YARN-7269.&lt;/A&gt; are already present.&lt;/P&gt;&lt;P&gt;Do you see any other reason why this error then still happens?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:21:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214721#M176633</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-04-10T19:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214722#M176634</link>
      <description>&lt;P&gt;Is there nobody with the same issue?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 15:34:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214722#M176634</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-04-20T15:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214723#M176635</link>
      <description>&lt;P&gt;I see the same issue when I execute jupyter-console with pyspark kernel. Please see the attach.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/72960-error.txt"&gt;error.txt&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 14:21:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214723#M176635</guid>
      <dc:creator>sushant_pandey</dc:creator>
      <dc:date>2018-05-23T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214724#M176636</link>
      <description>&lt;P&gt;I was not able to fix this issue up to now. The only solution I found currently is to disable Resource Manager HA.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 17:17:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/214724#M176636</guid>
      <dc:creator>alex_schaetzle</dc:creator>
      <dc:date>2018-05-23T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297028#M218553</link>
      <description>&lt;P&gt;Hi Alex, were you able to get this fixed ? I am getting similar error for hive on tez&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;javax.servlet.ServletException: Could not determine the proxy server for redirection
	at org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter.findRedirectUrl(AmIpFilter.java:212)
	at org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter.doFilter(AmIpFilter.java:146)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
	at org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1619)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
	at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:539)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Thread.java:748)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 20:21:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297028#M218553</guid>
      <dc:creator>areshJ</dc:creator>
      <dc:date>2020-06-01T20:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297030#M218555</link>
      <description>&lt;P&gt;As this is an older post you would have a better chance of receiving a resolution by starting a new thread. This will also provide the opportunity to provide details specific to your environment that could aid others in providing a more accurate answer to your question.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 20:58:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297030#M218555</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2020-06-01T20:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception: Could not determine the proxy server for redirection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297458#M218704</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;A href="https://github.com/apache/spark/pull/22164/files" target="_blank"&gt;https://github.com/apache/spark/pull/22164/files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 11:59:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-Exception-Could-not-determine-the-proxy-server-for/m-p/297458#M218704</guid>
      <dc:creator>jomach</dc:creator>
      <dc:date>2020-06-05T11:59:16Z</dc:date>
    </item>
  </channel>
</rss>

