We have a kerberized 4 node cluster. We are not able to call Livy Api from a remote windows machine.
Command to make the API call
curl --negotiate -u : -X GET -H "Content-Type: application/json" "http://******:8999/sessions?from=1&size=1"
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>
<h2>HTTP ERROR: 403</h2>
<p>Problem accessing /sessions. Reason:
<hr /><i><small>Powered by Jetty://</small></i>
-Same curl command works successfully from any of the cluster machines after getting a kerberos ticket.
-Windows machine is not part of the realm.
-I am using the same keytab file to get the kerberso ticket on windows machine which I use on cluster machine.
-I suspect that the curl command is not sending the correct user to authenticate.
Please let us know if why more information is needed.
Appreciate any help.