<?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: Tutorial Issue: Can't connect to HDFS through the Knox Gateway in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99793#M12883</link>
    <description>&lt;P&gt;No, I am using the Knox included with the HDP image.  If I try using &amp;lt;default&amp;gt; I get:&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'
HTTP/1.1 401 Unauthorized
WWW-Authenticate: BASIC realm="application"
Content-Length: 0
Server: Jetty(8.1.14.v20131031)&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2015 11:07:01 GMT</pubDate>
    <dc:creator>ads</dc:creator>
    <dc:date>2015-12-17T11:07:01Z</dc:date>
    <item>
      <title>Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99788#M12878</link>
      <description>&lt;P&gt;I'm running though "&lt;A target="_blank" href="http://hortonworks.com/hadoop-tutorial/securing-hadoop-infrastructure-apache-knox/"&gt;Securing your Hadoop Infrastructure with Apache Knox&lt;/A&gt;." I've installed HDP 2.3 and have been following the steps described. I can run step 6, accessing the Hadoop Cluster via WebHDFS. But step 7, accessing the Hadopp Cluster via the Apache Know Gateway fails. &lt;/P&gt;&lt;P&gt;curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HTTP/1.1 404 Not Found&lt;/STRONG&gt;
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 1294
Server: Jetty(8.1.14.v20131031)
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/&amp;gt;
&amp;lt;title&amp;gt;Error 404 Not Found&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h2&amp;gt;HTTP ERROR: 404&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;&lt;STRONG&gt;Problem accessing /gateway/sandbox/webhdfs/v1/. Reason:
&amp;lt;pre&amp;gt;    Not Found&amp;lt;/pre&amp;gt;&lt;/STRONG&gt;&amp;lt;/p&amp;gt;
&amp;lt;hr /&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;All the requisite processes seem to be running. I have no clue what to look at to get this working.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 10:42:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99788#M12878</guid>
      <dc:creator>ads</dc:creator>
      <dc:date>2015-12-17T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99789#M12879</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1520/ads.html" nodeid="1520"&gt;@Christopher Lewis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;what's the output of curl -iku guest:guest-password -X GET 'http://sandbox:50070/webhdfs/v1/?op=LISTSTATUS' ?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 10:49:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99789#M12879</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-17T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99790#M12880</link>
      <description>&lt;P&gt;If you've installed Knox via Ambari the topology name used is default instead of sandbox so try this command.&lt;/P&gt;&lt;P&gt;curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 10:52:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99790#M12880</guid>
      <dc:creator>kevin_minder</dc:creator>
      <dc:date>2015-12-17T10:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99791#M12881</link>
      <description>&lt;P&gt;[root@sandbox ~]# curl -iku guest:guest-password -X GET 'http://sandbox:50070/webhdfs/v1/?op=LISTSTATUS'
HTTP/1.1 200 OK
Cache-Control: no-cache
Expires: Thu, 17 Dec 2015 03:01:16 GMT
Date: Thu, 17 Dec 2015 03:01:16 GMT
Pragma: no-cache
Expires: Thu, 17 Dec 2015 03:01:16 GMT
Date: Thu, 17 Dec 2015 03:01:16 GMT
Pragma: no-cache
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(6.1.26.hwx) &lt;/P&gt;&lt;P&gt;&amp;lt;then the JSON output&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99791#M12881</guid>
      <dc:creator>ads</dc:creator>
      <dc:date>2015-12-17T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99792#M12882</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1520/ads.html" nodeid="1520"&gt;@Christopher Lewis&lt;/A&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;curl -iv -k -u guest:guest-password &lt;A href="https://sandbox:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS" target="_blank"&gt;https://sandbox:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:06:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99792#M12882</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-17T11:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99793#M12883</link>
      <description>&lt;P&gt;No, I am using the Knox included with the HDP image.  If I try using &amp;lt;default&amp;gt; I get:&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'
HTTP/1.1 401 Unauthorized
WWW-Authenticate: BASIC realm="application"
Content-Length: 0
Server: Jetty(8.1.14.v20131031)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:07:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99793#M12883</guid>
      <dc:creator>ads</dc:creator>
      <dc:date>2015-12-17T11:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99794#M12884</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/190/kevinminder.html" nodeid="190"&gt;@Kevin Minder&lt;/A&gt; Tutorial has errors&lt;/P&gt;&lt;P&gt;curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/&lt;STRONG&gt;&lt;EM&gt;sandbox&lt;/EM&gt;&lt;/STRONG&gt;/webhdfs/v1/?op=LISTSTATUS'&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/securing-hadoop-infrastructure-apache-knox/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/securing-hadoop-infrastructure-apache-knox/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:07:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99794#M12884</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-17T11:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99795#M12885</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="891-screen-shot-2015-12-16-at-101821-pm.png" style="width: 2872px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23841iEF3247602F90887E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="891-screen-shot-2015-12-16-at-101821-pm.png" alt="891-screen-shot-2015-12-16-at-101821-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's working at my end.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99795#M12885</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99796#M12886</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1520/ads.html" nodeid="1520"&gt;@Christopher Lewis&lt;/A&gt; &amp;lt; This looks like progress.  I'm guessing the Demo LDAP server isn't running on your VM.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:11:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99796#M12886</guid>
      <dc:creator>kevin_minder</dc:creator>
      <dc:date>2015-12-17T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99797#M12887</link>
      <description>&lt;P&gt;Thank you both for your help. I restarted the Knox LDAP manually instead of with Ambari and used the default path instead of sandbox. I can get connected now.&lt;/P&gt;&lt;P&gt;@Neeraj Sabharwal&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@Kevin Minder&lt;/P&gt;&lt;P&gt;
&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 00:59:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99797#M12887</guid>
      <dc:creator>ads</dc:creator>
      <dc:date>2015-12-18T00:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99798#M12888</link>
      <description>&lt;P&gt;It worked for me. Thanks for the advise&lt;/P&gt;&lt;P&gt;I wonder if HWX does this deliberately, so are we forced to venture into the dark space (so, we learn more) which we wouldn't otherwise &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 07:32:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99798#M12888</guid>
      <dc:creator>beingmeus</dc:creator>
      <dc:date>2016-01-16T07:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99799#M12889</link>
      <description>&lt;P&gt;Need to start Demo LDAP from service actions in order to test the test accounts with out LDAP integration&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:48:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99799#M12889</guid>
      <dc:creator>rkandula</dc:creator>
      <dc:date>2016-12-13T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99800#M12890</link>
      <description>&lt;P&gt;how you restarted the Knox LDAP ???&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 18:19:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99800#M12890</guid>
      <dc:creator>Amryz5</dc:creator>
      <dc:date>2018-04-04T18:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial Issue: Can't connect to HDFS through the Knox Gateway</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99801#M12891</link>
      <description>&lt;P&gt;I'm having the same issue! &lt;/P&gt;&lt;P&gt;&lt;A href="https://knox.apache.org/books/knox-1-1-0/user-guide.html#Quick+Start" target="_blank"&gt;https://knox.apache.org/books/knox-1-1-0/user-guide.html#Quick+Start&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following the tutorial step by step and the I get this:&lt;/P&gt;&lt;P&gt;root@hn0-securi:~/knox-1.1.0# curl -i -k -u guest:guest-password -X GET 'https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS'
HTTP/1.1 500 Server Error
Date: Thu, 27 Sep 2018 07:45:22 GMT
Set-Cookie: JSESSIONID=5qbve5zzilryrp6nfy8zztn0;Path=/gateway/sandbox;Secure;HttpOnly
Set-Cookie: rememberMe=deleteMe; Path=/gateway/sandbox; Max-Age=0; Expires=Wed, 26-Sep-2018 07:45:22 GMT
Content-Type: text/html; charset=ISO-8859-1
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 317
Connection: close
Server: Jetty(9.2.22.v20170606)
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&amp;gt;
&amp;lt;title&amp;gt;Error 500 Server Error&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 500&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;Problem accessing /gateway/sandbox/webhdfs/v1/. Reason:
&amp;lt;pre&amp;gt;    Server Error&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;hr/&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;Please help !!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:13:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tutorial-Issue-Can-t-connect-to-HDFS-through-the-Knox/m-p/99801#M12891</guid>
      <dc:creator>v-weilwu</dc:creator>
      <dc:date>2018-09-28T10:13:43Z</dc:date>
    </item>
  </channel>
</rss>

