Member since
06-08-2016
5
Posts
1
Kudos Received
0
Solutions
05-03-2017
06:38 PM
Hi @Bernhard Walter, First of all thanks for your help. You are right. I wasn't able to access webhdfs via knox. It seems our Web UI's and HTTP requests are still using simple/anonymous authentication and Knox is configured to use kerberos so any request to webhdfs, livy and hbase were failing with HTTP 401 error. However we are able to make HTTP requests to hive and webhcat. Do you have any idea why?
... View more
05-03-2017
03:57 AM
@Bernhard Walter @Kevin Minder Thanks for sharing this article. I followed the same steps and was able to configure it properly but i am getting HTTP 401 error while querying it. Please find the output below for your reference:- spark@XXXXXXX(/home/spark)$ curl --negotiate -X GET -u : "http://xxxxxx:8998/"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Metrics</title>
</head>
<body>
<h1>Operational Menu</h1>
<ul>
<li><a href="/metrics?pretty=true">Metrics</a></li>
<li><a href="/ping">Ping</a></li>
<li><a href="/threads">Threads</a></li>
<li><a href="/healthcheck?pretty=true">Healthcheck</a></li>
</ul>
</body>
</html> This works without any issue. spark@xxxxxxx(/home/spark)$ curl --negotiate -X GET -u : "http://xxxxxxx:8443/gateway/default/livy/v1" This results into HTTP 401 (found in knox gateway audit logs). Am i missing something. Please help me in fixing this.
... View more