<?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: knox with yarnui - colon (:) character becomes %3A in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238849#M85555</link>
    <description>&lt;P&gt;Potentially but no guarantees. You would lose those changes on upgrades and would be up to you to keep them in sync. I know it is something that will not be supported but you seem to acknowledge that in the question with "Though KNOX with YARNUI is not officially supported"&lt;/P&gt;</description>
    <pubDate>Sat, 22 Dec 2018 03:10:15 GMT</pubDate>
    <dc:creator>risdenk</dc:creator>
    <dc:date>2018-12-22T03:10:15Z</dc:date>
    <item>
      <title>knox with yarnui - colon (:) character becomes %3A</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238846#M85552</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Please, any help in getting past this issue is appreciated.&lt;/P&gt;&lt;P&gt;We are using HDP 2.6.1. Though KNOX with YARNUI is not officially supported, I thought I would give it a try by modifying the service and rewrite xml files a bit.&lt;/P&gt;&lt;P&gt;It seems to be working fine except a few places. One of the issues that I am facing is that it is placing %3A instead of a colon (:) in the request URL. Here's the process flow.&lt;/P&gt;&lt;P&gt;1) Initial page - opens fine&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;2) Click on a finished Tez application - opens fine&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app/application_1544594647974_0003" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app/application_1544594647974_0003&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;3) Click on logs - breaks. Here's what the link looks like.&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;After clicking the link, the URL in the address bar becomes as below (Colon becomes %3A)&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://rm.sandbox.com:19888/jobhistory/logs/datanode03.sandbox.com%3A45454/container_e212_1544594647974_0003_01_000001/container_e212_1544594647974_0003_01_000001/hive?doAs=myuser" target="_blank"&gt;http://rm.sandbox.com:19888/jobhistory/logs/datanode03.sandbox.com%3A45454/container_e212_1544594647974_0003_01_000001/container_e212_1544594647974_0003_01_000001/hive?doAs=myuser&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;And the error shown on the web page is &lt;/P&gt;&lt;H4&gt;Cannot get container logs. Invalid nodeId: datanode03.sandbox.com&lt;STRONG&gt;%3A&lt;/STRONG&gt;45454&lt;/H4&gt;&lt;P&gt;Gateway log shows these lines&lt;/P&gt;&lt;PRE&gt;2018-12-14 03:51:26,968 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(166)) - Rewrote URL: &lt;A href="http://rm.sandbox.com:8088/proxy/application_1544594647974_0003/" target="_blank"&gt;http://rm.sandbox.com:8088/proxy/application_1544594647974_0003/&lt;/A&gt;, direction: OUT via explicit rule: YARNUI/yarn/outbound/apps/history to URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/proxy/application_1544594647974_0003" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/proxy/application_1544594647974_0003&lt;/A&gt;
2018-12-14 03:51:26,969 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: logs, direction: OUT via implicit rule: YARNUI/yarn/outbound/logs to URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/logs" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/logs&lt;/A&gt;
2018-12-14 03:51:26,970 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(166)) - Rewrote URL: &lt;A href="http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive" target="_blank"&gt;http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive&lt;/A&gt;, direction: OUT via explicit rule: YARNUI/yarn/outbound/node/containerlogs to URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042&lt;/A&gt;
2018-12-14 03:51:26,970 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(166)) - Rewrote URL: /cluster/app, direction: OUT via explicit rule: YARNUI/yarn/outbound/apps/app to URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app&lt;/A&gt;
2018-12-14 03:52:47,645 DEBUG hadoop.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive
2018-12-14 03:52:47,650 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?host=datanode03.sandbox.com&amp;amp;port=8042&lt;/A&gt;, direction: IN via implicit rule: YARNUI/yarn/inbound/node/containerlogs to URL: &lt;A href="http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive" target="_blank"&gt;http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive&lt;/A&gt;
2018-12-14 03:52:47,650 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: &lt;A href="https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app/application_1544594647974_0003" target="_blank"&gt;https://knox.sandbox.com:8443/gateway/default/yarn/cluster/app/application_1544594647974_0003&lt;/A&gt;, direction: IN via implicit rule: YARNUI/yarn/inbound/cluster to URL: &lt;A href="http://rm.sandbox.com:8088/cluster/app/application_1544594647974_0003" target="_blank"&gt;http://rm.sandbox.com:8088/cluster/app/application_1544594647974_0003&lt;/A&gt;
2018-12-14 03:52:47,650 DEBUG hadoop.gateway (DefaultDispatch.java:executeOutboundRequest(120)) - Dispatch request: GET &lt;A href="http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?doAs=myuser" target="_blank"&gt;http://datanode03.sandbox.com:8042/node/containerlogs/container_e212_1544594647974_0003_01_000001/hive?doAs=myuser&lt;/A&gt;
2018-12-14 03:52:47,666 DEBUG hadoop.gateway (DefaultDispatch.java:executeOutboundRequest(133)) - Dispatch response status: 307
2018-12-14 03:52:47,667 DEBUG hadoop.gateway (DefaultDispatch.java:getInboundResponseContentType(202)) - Using explicit character set UTF-8 for entity of type text/plain
2018-12-14 03:52:47,667 DEBUG hadoop.gateway (DefaultDispatch.java:getInboundResponseContentType(210)) - Inbound response entity content type: text/plain; charset=utf-8



&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:05:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238846#M85552</guid>
      <dc:creator>manishsingh2k</dc:creator>
      <dc:date>2018-12-14T21:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: knox with yarnui - colon (:) character becomes %3A</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238847#M85553</link>
      <description>&lt;P&gt;This is most likely fixed in Apache Knox 1.2.0 (&lt;A href="https://issues.apache.org/jira/browse/KNOX-1207"&gt;KNOX-1207&lt;/A&gt;) and should be fixed in HDP 3.1 just released. &lt;/P&gt;</description>
      <pubDate>Sat, 15 Dec 2018 03:49:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238847#M85553</guid>
      <dc:creator>risdenk</dc:creator>
      <dc:date>2018-12-15T03:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: knox with yarnui - colon (:) character becomes %3A</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238848#M85554</link>
      <description>&lt;P&gt;Thank You Kevin. Unfortunately, an upgrade does not seem to be in the cards as of now. Would downloading the latest service directories containing the latest service and rewrite xml be able to fix it instead?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Dec 2018 06:40:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238848#M85554</guid>
      <dc:creator>manishsingh2k</dc:creator>
      <dc:date>2018-12-15T06:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: knox with yarnui - colon (:) character becomes %3A</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238849#M85555</link>
      <description>&lt;P&gt;Potentially but no guarantees. You would lose those changes on upgrades and would be up to you to keep them in sync. I know it is something that will not be supported but you seem to acknowledge that in the question with "Though KNOX with YARNUI is not officially supported"&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 03:10:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238849#M85555</guid>
      <dc:creator>risdenk</dc:creator>
      <dc:date>2018-12-22T03:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: knox with yarnui - colon (:) character becomes %3A</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238850#M85556</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10358/risdenk.html" nodeid="10358"&gt;@Kevin Risden&lt;/A&gt; Thank You.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 05:34:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-with-yarnui-colon-character-becomes-3A/m-p/238850#M85556</guid>
      <dc:creator>manishsingh2k</dc:creator>
      <dc:date>2018-12-22T05:34:53Z</dc:date>
    </item>
  </channel>
</rss>

