my rest server is up and running and the following command works
[root@hadoop1 ~]# curl --negotiate -u : 'http://hadoop1:17001/status/cluster'
1 live servers, 0 dead servers, 6.0000 average load
1 live servers
hadoop5.xxx.com:16020 1530282635984
requests=0, regions=6
heapSizeMB=145
maxHeapSizeMB=2007
but the other curl commands are failing with authentication error . I have a Kerberos ticket acquired from
/etc/security/keytabs/hbase.service.keytab
[root@hadoop1 ~]# curl -H "Accept: text/xml" http://hadoop1:17001/version
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 401 Authentication required</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /version. Reason:
<pre> Authentication required</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>