<?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 responsed 404 not found when use file view and curl command in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198351#M68343</link>
    <description>&lt;P&gt;Hello Sen, my webhdfs is working with {{webhdfs_service_urls}}  and change the default to adminui but still getting 404&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 11:36:17 GMT</pubDate>
    <dc:creator>gvishal</dc:creator>
    <dc:date>2017-10-23T11:36:17Z</dc:date>
    <item>
      <title>knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198344#M68336</link>
      <description>&lt;P&gt;Hi All:&lt;/P&gt;&lt;P&gt;i'm using ambari 2.52 and HDP 2.6 by repo install (not sandbox),&lt;/P&gt;&lt;P&gt;i created a new lab only start HDFS/YARN/MapReduce for knox test, and add new host only install knox,&lt;/P&gt;&lt;P&gt;now, i can access ambari manager web via knox (i have add AMBARIUI config in advanced topology), but when click file view (or other view) will get 404 not found error,&lt;/P&gt;&lt;P&gt;try to use curl command to access hdfs folder also get 404 not found error,&lt;/P&gt;&lt;P&gt;if any other configure need setting?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:04:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198344#M68336</guid>
      <dc:creator>sen_ke</dc:creator>
      <dc:date>2017-09-20T14:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198345#M68337</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45191/senke.html" nodeid="45191"&gt;@Sen Ke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is what i tried on Ambari 2.5.2 and i have the following content inside my newly created file "/etc/knox/conf/topologies/ui.xml" file and then restarted the knox and i am able to access the Ambari UI as well as  all the Views without any issue.&lt;/P&gt;&lt;PRE&gt;&amp;lt;topology&amp;gt;
    &amp;lt;gateway&amp;gt;
        &amp;lt;provider&amp;gt;
            &amp;lt;role&amp;gt;authentication&amp;lt;/role&amp;gt;
            &amp;lt;name&amp;gt;Anonymous&amp;lt;/name&amp;gt;
            &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;
        &amp;lt;/provider&amp;gt;
        &amp;lt;provider&amp;gt;
            &amp;lt;role&amp;gt;identity-assertion&amp;lt;/role&amp;gt;
            &amp;lt;name&amp;gt;Default&amp;lt;/name&amp;gt;
            &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;
        &amp;lt;/provider&amp;gt;
    &amp;lt;/gateway&amp;gt;
    &amp;lt;service&amp;gt;
        &amp;lt;role&amp;gt;AMBARI&amp;lt;/role&amp;gt;
        &amp;lt;url&amp;gt;http://knox.example.com:8080/&amp;lt;/url&amp;gt;
    &amp;lt;/service&amp;gt;
    &amp;lt;service&amp;gt;
        &amp;lt;role&amp;gt;AMBARIUI&amp;lt;/role&amp;gt;
        &amp;lt;url&amp;gt;http://knox.example.com:8080/&amp;lt;/url&amp;gt;
    &amp;lt;/service&amp;gt;
&amp;lt;/topology&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;URL that i used to access the FileView: &lt;/STRONG&gt;&lt;A target="_blank" href="https://knox.example.com:8443/gateway/ui/ambari/#/main/view/FILES/auto_files_instance"&gt;https://knox.example.com:8443/gateway/ui/ambari/#/main/view/FILES/auto_files_instance&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;To access ambari: &lt;/STRONG&gt;&lt;A href="https://knox.example.com:8443/gateway/ui/ambari"&gt;https://knox.example.com:8443/gateway/ui/ambari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:14:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198345#M68337</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-20T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198346#M68338</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt;&lt;P&gt;you're great,&lt;/P&gt;&lt;P&gt;i tried add new xml and AMBARI/AMBARIUI url point to my ambari manager (i install in different host),&lt;/P&gt;&lt;P&gt;file view via knox is worked now, amazing!&lt;/P&gt;&lt;P&gt;very thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:36:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198346#M68338</guid>
      <dc:creator>sen_ke</dc:creator>
      <dc:date>2017-09-20T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198347#M68339</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45191/senke.html" nodeid="45191"&gt;@Sen Ke&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good to know that the issue is resolved and you are able to access the Views via Knox now. &lt;/P&gt;&lt;P&gt;It will be also great if you can mark this HCC thread as "Accepted", sothat other HCC users can quickly browse the answered solutions if they hit the same/simialr issue.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45191/senke.html" nodeid="45191"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:59:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198347#M68339</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-20T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198348#M68340</link>
      <description>&lt;P&gt; Hello Jay, I have tried creating ui.xml and adminui.xml (both names) but I am still getting 404 for ambari UI via knox. &lt;/P&gt;&lt;P&gt;curl -vik -u &amp;lt;username&amp;gt; 'https://&amp;lt;ip knox_node&amp;gt;:8442/gateway/default/ui/ambari  ( we used port 8442 for HTTPS/ssl)&lt;/P&gt;&lt;P&gt;the webhdfs, oozie and hive is working. &lt;/P&gt;&lt;P&gt;curl -vik -u &amp;lt;username&amp;gt; 'https://&amp;lt;ip knox node&amp;gt;:8442/gateway/default/oozie'&lt;/P&gt;&lt;P&gt;curl -vik -u &amp;lt;username&amp;gt; 'https://&amp;lt;ip knox node&amp;gt;:8442/gateway/default/hive'&lt;/P&gt;&lt;P&gt;Any thoughts , what else is required. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:32:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198348#M68340</guid>
      <dc:creator>gvishal</dc:creator>
      <dc:date>2017-10-23T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198349#M68341</link>
      <description>&lt;P&gt;The cluster is kerberozied and ldap configured with Active directory. AD KDC is getting used, not local KDC&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:34:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198349#M68341</guid>
      <dc:creator>gvishal</dc:creator>
      <dc:date>2017-10-23T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198350#M68342</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16956/gvishalg2.html" nodeid="16956"&gt;@Vishal Gupta&lt;/A&gt; &lt;/P&gt;&lt;P&gt;in my case, i'm change WEBHDFS service config from {{webhdfs_service_urls}}  to &lt;A href="http://My_NameNode:50070/webhdfs" target="_blank"&gt;http://My_NameNode:50070/webhdfs&lt;/A&gt; in xml&lt;/P&gt;&lt;P&gt;and your command URL should use "ui" or "adminui" instead "default"&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:57:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198350#M68342</guid>
      <dc:creator>sen_ke</dc:creator>
      <dc:date>2017-10-23T10:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: knox responsed 404 not found when use file view and curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198351#M68343</link>
      <description>&lt;P&gt;Hello Sen, my webhdfs is working with {{webhdfs_service_urls}}  and change the default to adminui but still getting 404&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:36:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/knox-responsed-404-not-found-when-use-file-view-and-curl/m-p/198351#M68343</guid>
      <dc:creator>gvishal</dc:creator>
      <dc:date>2017-10-23T11:36:17Z</dc:date>
    </item>
  </channel>
</rss>

