Member since
12-16-2015
4
Posts
0
Kudos Received
0
Solutions
12-17-2015
04:59 PM
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. @Neeraj Sabharwal
@Kevin Minder
... View more
12-17-2015
03:07 AM
No, I am using the Knox included with the HDP image. If I try using <default> I get: [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)
... View more
12-17-2015
03:03 AM
[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) <then the JSON output>
... View more
12-17-2015
02:42 AM
I'm running though "Securing your Hadoop Infrastructure with Apache Knox." 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. curl -iku guest:guest-password -X GET 'https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS' HTTP/1.1 404 Not Found
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)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /gateway/sandbox/webhdfs/v1/. Reason:
<pre> Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html> All the requisite processes seem to be running. I have no clue what to look at to get this working.
... View more
Labels:
- Labels:
-
Apache Knox