<?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: Not able to access WebHDFS via Knox in the Sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172533#M42041</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I don't get that warning so it may be significant. I'm not sure. If I had to hazard a guess as to why it's failing to delete it's either a path or file permissions issue. Can you post the whole log?&lt;/P&gt;&lt;P&gt;Also can you try a few tests with the /usr/hdp/current/knox-server.bin/knoxcli.sh utility? It might provide a bit more meaningful info.&lt;/P&gt;&lt;P&gt;./knoxcli.sh service-test --cluster knox_sample --u guest -p guest-password --hostname sandbox.hortonworks.com --port 8443 --cluster knox_sample&lt;/P&gt;&lt;P&gt;./knoxcli.sh user-auth-test --cluster knox_sample --u guest --p guest-password --hostname sandbox.hortonworks.com --port 8443 --cluster knox_sample&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2016 08:48:24 GMT</pubDate>
    <dc:creator>andrew_ryan1</dc:creator>
    <dc:date>2016-09-30T08:48:24Z</dc:date>
    <item>
      <title>Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172524#M42032</link>
      <description>&lt;P&gt;Hello guys, I am using HDP 2.5 Sandbox and have started Knox as well as Demo LDAP service. Now when I am running:&lt;/P&gt;&lt;P&gt;curl -k -u admin:admin-password 'https://127.0.0.1:8443/gateway/knox_sample/webhdfs/v1?op=LISTSTATUS'&lt;/P&gt;&lt;P&gt;I am getting the following message- &lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;Error 503 &amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h2&amp;gt;HTTP ERROR: 503&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;Problem accessing /gateway/knox_sample/webhdfs/v1. Reason:&lt;/P&gt;&lt;P&gt;&amp;lt;pre&amp;gt;    Service Unavailable&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this before? Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 01:44:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172524#M42032</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-28T01:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172525#M42033</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A couple of things to check would be your knox_sample topology has the service mapping to webhdfs&lt;/P&gt;&lt;P&gt;&amp;lt;service&amp;gt;
  &amp;lt;role&amp;gt;WEBHDFS&amp;lt;/role&amp;gt;
  &amp;lt;url&amp;gt;http://sandbox:50070/webhdfs&amp;lt;/url&amp;gt;
&amp;lt;/service&amp;gt;&lt;/P&gt;&lt;P&gt;and the webhdfs server is listening on that port &lt;/P&gt;&lt;P&gt;netstat -nl | grep 50070&lt;/P&gt;&lt;P&gt;Take a look at your knox logs as well - they may have some extra info.&lt;/P&gt;&lt;P&gt;/usr/hdp/current/knox-server/logs/gateway.log&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:35:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172525#M42033</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-29T05:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172526#M42034</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/12896/andrewryan1.html" nodeid="12896"&gt;@Andrew Ryan&lt;/A&gt; for replying. Checked /usr/hdp/current/knox-server/conf/topologies/knox_sample.xml, it has this section:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;service&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;        &amp;lt;role&amp;gt;WEBHDFS&amp;lt;/role&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;        &amp;lt;url&amp;gt;http://sandbox.hortonworks.com:50070/webhdfs&amp;lt;/url&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    &amp;lt;/service&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also, webhdfs server is listening to the port &lt;STRONG&gt;50070&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Log file is not stating any error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,285 INFO hadoop.gateway (GatewayServer.java:logSysProp(193)) - System Property: user.name=knox&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,287 INFO hadoop.gateway (GatewayServer.java:logSysProp(193)) - System Property: user.dir=/home/knox&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,287 INFO hadoop.gateway (GatewayServer.java:logSysProp(193)) - System Property: java.runtime.name=OpenJDK Runtime Environment&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,287 INFO hadoop.gateway (GatewayServer.java:logSysProp(193)) - System Property: java.runtime.version=1.7.0_111-mockbuild_2016_07_27_10_11-b00&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,287 INFO hadoop.gateway (GatewayServer.java:logSysProp(193)) - System Property: java.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,522 INFO hadoop.gateway (GatewayConfigImpl.java:loadConfigResource(321)) - Loading configuration resource jar:file:/usr/hdp/2.5.0.0-1245/knox/bin/../lib/gateway-server-0.9.0.2.5.0.0-1245.jar!/conf/gateway-default.xml&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,530 INFO hadoop.gateway (GatewayConfigImpl.java:loadConfigFile(309)) - Loading configuration file /usr/hdp/2.5.0.0-1245/knox/bin/../conf/gateway-site.xml&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:39,614 INFO hadoop.gateway (GatewayConfigImpl.java:initGatewayHomeDir(253)) - Using /usr/hdp/2.5.0.0-1245/knox/bin/.. as GATEWAY_HOME via system property.&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,111 INFO hadoop.gateway (JettySSLService.java:init(95)) - Credential store for the gateway instance found - no need to create one.&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,151 INFO hadoop.gateway (JettySSLService.java:init(117)) - Keystore for the gateway instance found - no need to create one.&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,156 INFO hadoop.gateway (JettySSLService.java:logAndValidateCertificate(146)) - The Gateway SSL certificate is issued to hostname: sandbox.hortonworks.com.&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,157 INFO hadoop.gateway (JettySSLService.java:logAndValidateCertificate(149)) - The Gateway SSL certificate is valid between: 9/13/16 10:56 AM and 9/13/17 10:56 AM.&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,454 INFO hadoop.gateway (GatewayServer.java:startGateway(279)) - Starting gateway...&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,797 INFO hadoop.gateway (GatewayServer.java:start(379)) - Loading topologies from directory: /usr/hdp/2.5.0.0-1245/knox/bin/../conf/topologies&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,950 INFO hadoop.gateway (GatewayServer.java:handleCreateDeployment(655)) - Loading topology knoxsso from /usr/hdp/2.5.0.0-1245/knox/bin/../data/deployments/knoxsso.topo.157239f6c28&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,951 INFO hadoop.gateway (GatewayServer.java:internalActivateTopology(524)) - Activating topology knoxsso&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:40,974 INFO hadoop.gateway (GatewayServer.java:internalActivateArchive(534)) - Activating topology knoxsso archive %2F&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,015 INFO hadoop.gateway (GatewayServer.java:internalActivateArchive(534)) - Activating topology knoxsso archive %2Fknoxauth&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,100 INFO hadoop.gateway (GatewayServer.java:handleCreateDeployment(655)) - Loading topology admin from /usr/hdp/2.5.0.0-1245/knox/bin/../data/deployments/admin.topo.15723310670&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,101 INFO hadoop.gateway (GatewayServer.java:internalActivateTopology(524)) - Activating topology admin&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,102 INFO hadoop.gateway (GatewayServer.java:internalActivateArchive(534)) - Activating topology admin archive %2F&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,103 INFO hadoop.gateway (GatewayServer.java:handleCreateDeployment(655)) - Loading topology default from /usr/hdp/2.5.0.0-1245/knox/bin/../data/deployments/default.topo.15723310670&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,103 INFO hadoop.gateway (GatewayServer.java:internalActivateTopology(524)) - Activating topology default&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,104 INFO hadoop.gateway (GatewayServer.java:internalActivateArchive(534)) - Activating topology default archive %2F&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,105 INFO hadoop.gateway (GatewayServer.java:handleCreateDeployment(655)) - Loading topology knox_sample from /usr/hdp/2.5.0.0-1245/knox/bin/../data/deployments/knox_sample.topo.157233d52e0&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,105 INFO hadoop.gateway (GatewayServer.java:internalActivateTopology(524)) - Activating topology knox_sample&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,106 INFO hadoop.gateway (GatewayServer.java:internalActivateArchive(534)) - Activating topology knox_sample archive %2F&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,289 INFO hadoop.gateway (GatewayServer.java:start(395)) - Monitoring topologies in directory: /usr/hdp/2.5.0.0-1245/knox/bin/../conf/topologies&lt;/P&gt;&lt;P&gt;2016-09-28 18:53:41,290 INFO hadoop.gateway (GatewayServer.java:startGateway(294)) - Started gateway on port 8,443.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 06:19:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172526#M42034</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-29T06:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172527#M42035</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No worries.&lt;/P&gt;&lt;P&gt;Can you contact the service without knox?&lt;/P&gt;&lt;P&gt;curl -i -v -k -u guest:guest-password 'http://sandbox.hortonworks.com:50070/webhdfs/v1/?op=LISTSTATUS'&lt;/P&gt;&lt;P&gt;I have attached a topology file that currently works on my sandbox for you to compare.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 11:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172527#M42035</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-29T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172528#M42036</link>
      <description>&lt;P&gt;Yes, I am able to contact webhdfs without Knox. Further, I am not able to access the sample file that you have attached.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 11:21:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172528#M42036</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-29T11:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172529#M42037</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Apologies, format issues I think. Try this one.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8068-knox-sample.xml"&gt;knox-sample.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 14:39:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172529#M42037</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-29T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172530#M42038</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/12896/andrewryan1.html" nodeid="12896"&gt;@Andrew Ryan&lt;/A&gt; , I just compared both of them and they are same. Also found out that I am not able to connect to other topologies like default, admin and knoxsso as well. &lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 23:46:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172530#M42038</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-29T23:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172531#M42039</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I would bump up the log levels for the gateway to DEBUG through Ambari as a next step. &lt;/P&gt;&lt;P&gt;In the knox advanced tab for gateway log4j change log4j.rootLogger=ERROR, drfa to log4j.rootLogger=DEBUG, drfa&lt;/P&gt;&lt;P&gt;Then submit a curl request check the gateway.log. There will be a lot of output so search for 'guest'. &lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 06:42:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172531#M42039</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-30T06:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172532#M42040</link>
      <description>&lt;P&gt;There was nothing for guest, but got something though it is just a warning:&lt;/P&gt;&lt;P&gt;WARN  webapp.WebAppContext (WebAppContext.java:doStart(514)) - Failed startup of context o.e.j.w.WebAppContext@62811100{/gateway/knox_sample,null,null}{/usr/hdp/2.5.0.0-1245/knox/bin/../data/deployments/knox_sample.topo.157233d52e0/%2F}&lt;/P&gt;&lt;P&gt;java.lang.IllegalStateException: Failed to delete temp dir /var/lib/knox/data-2.5.0.0-1245/deployments/knox_sample.topo.157233d52e0/%2F/META-INF/temp&lt;/P&gt;&lt;P&gt;This warning is there for all 4 topologies&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 06:52:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172532#M42040</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-30T06:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172533#M42041</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I don't get that warning so it may be significant. I'm not sure. If I had to hazard a guess as to why it's failing to delete it's either a path or file permissions issue. Can you post the whole log?&lt;/P&gt;&lt;P&gt;Also can you try a few tests with the /usr/hdp/current/knox-server.bin/knoxcli.sh utility? It might provide a bit more meaningful info.&lt;/P&gt;&lt;P&gt;./knoxcli.sh service-test --cluster knox_sample --u guest -p guest-password --hostname sandbox.hortonworks.com --port 8443 --cluster knox_sample&lt;/P&gt;&lt;P&gt;./knoxcli.sh user-auth-test --cluster knox_sample --u guest --p guest-password --hostname sandbox.hortonworks.com --port 8443 --cluster knox_sample&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:48:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172533#M42041</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-30T08:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172534#M42042</link>
      <description>&lt;P&gt;Might be a good idea to check if you have any knox zombies running. They can hang on to files and prevent deletes.&lt;/P&gt;&lt;P&gt;ps -ef | grep -i knox&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:56:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172534#M42042</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-30T08:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172535#M42043</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12896/andrewryan1.html" nodeid="12896"&gt;@Andrew Ryan&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Thank you for trying so hard with me. I tried both commands, first one did not get it through. Ends with the following message:&lt;/P&gt;&lt;P&gt;This command requires a running instance of Knox to be present on the same machine. It will execute a test to make sure all services are accessible through the gateway URLs. Errors are reported and suggestions to resolve any problems are returned. JSON formatted.&lt;/P&gt;&lt;P&gt;Second one showed the message that LDAP authentication got successful.&lt;/P&gt;&lt;P&gt;Also checked that there are no knox zombies running.&lt;/P&gt;&lt;P&gt;I have attached the gateway.log file.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8154-gatewaylog.txt"&gt;gatewaylog.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 11:23:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172535#M42043</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-30T11:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172536#M42044</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Quite alright. Maybe a long shot but I found this post with a similar issue to the one you are experiencing.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/37521/error-hadoopgateway-service-connectivity-error-kno.html"&gt;service unavailable&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:03:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172536#M42044</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-30T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172537#M42045</link>
      <description>&lt;P&gt;It's a different error from the gateway logs in the attached log file for the link I posted. So it probably isn't your issue.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This command requires a running instance of Knox to be present on the same machine. It will execute a test to make sure all services are accessible through the gateway URLs. Errors are reported and suggestions to resolve any problems are returned. JSON formatted.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm confused now. This implies that knox isn't running. But the results for the user auth test say that it is. I'm running 2.4 so I will try to setup 2.5 over the weekend for myself. &lt;/P&gt;&lt;P&gt;Do you have ranger enabled with knox? Can you post the gateway.log error with debug enabled for when you make your curl request?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:36:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172537#M42045</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-09-30T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172538#M42046</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12896/andrewryan1.html" nodeid="12896"&gt;@Andrew Ryan&lt;/A&gt;, Yes, ranger is enabled with knox. Please find the attached gateway.log file. I also went through gateway-audit.log file which shows this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/09/30 01:13:22 |||audit|||||redeploy|topology|knoxsso|unavailable|&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/09/30 01:13:23 |||audit|||||redeploy|topology|admin|unavailable|&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/09/30 01:13:23 |||audit|||||redeploy|topology|default|unavailable|&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/09/30 01:13:23 |||audit|||||redeploy|topology|knox_sample|unavailable|&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 23:43:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172538#M42046</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-09-30T23:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172539#M42047</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I downloaded the 2.5 sandbox and got the same issue as you describe.&lt;/P&gt;&lt;P&gt;The problem seems to be the directory for previous deployments can't be deleted and this causes the service for the topologies to fail to start.&lt;/P&gt;&lt;P&gt;I eventually got mine working by moving all of the topology xml files out of /usr/hdp/current/knox-server/conf/topologies&lt;/P&gt;&lt;P&gt;and restarting knox. It automatically populates the default, knoxsso and admin files back into the folder. I was able to list the files using the default topology. I moved the knox_sample.xml back into the folder and did another restart. It failed to start due to the temp folder being unable to be deleted. So I catted the knox_sample.xml into another file knox_sample2.xml and restarted again. I was able to list the files through knox_sample2. &lt;/P&gt;&lt;P&gt;It is more of a work around than anything else. I don't know why the temp folder can't be deleted. I couldn't delete the folder manually and when I tried I got an invalid argument error&lt;/P&gt;&lt;P&gt;rmdir &lt;/P&gt;&lt;P&gt;/var/lib/knox/data-2.5.0.0-1245/deployments/knoxsso.topo.157239f6c28/%2Fknoxauth/META-INF/temp/jsp&lt;/P&gt;&lt;P&gt;rmdir: failed to remove `jsp/': Invalid argument&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:07:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172539#M42047</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-10-05T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172540#M42048</link>
      <description>&lt;P&gt;Knox_sample also works now&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:58:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172540#M42048</guid>
      <dc:creator>andrew_ryan1</dc:creator>
      <dc:date>2016-10-05T14:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to access WebHDFS via Knox in the Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172541#M42049</link>
      <description>&lt;P&gt;Thanks alot &lt;A rel="user" href="https://community.cloudera.com/users/12896/andrewryan1.html" nodeid="12896"&gt;@Andrew Ryan&lt;/A&gt;, I moved all the files from the topologies folder, and then restarted Knox, it created default, admin and knoxsso xml files. Tested default and it worked fine. Then I moved back the old knox_sample.xml to the folder and restarted Knox, it worked. Still wondering what could be the issue&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:43:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-access-WebHDFS-via-Knox-in-the-Sandbox/m-p/172541#M42049</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-10-05T21:43:46Z</dc:date>
    </item>
  </channel>
</rss>

