ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Levas <rle...@hortonworks.com>
Subject Re: question on kerberos
Date Thu, 21 Apr 2016 14:12:20 GMT
Hi Fay…

The API call you want to use to get the details about the expected Kerberos identities is

GET /api/v1/clusters/c1/kerberos_identities?fields=*

By default this will give you a JSON formatted file of the data.  If you append format=CSV
to the query, Ambari will provide the data in a CSV format:

GET /api/v1/clusters/c1/kerberos_identities?fields=*&format=CSV

You can see https://issues.apache.org/jira/browse/AMBARI-10576 for some examples.

I suppose I should probably add this to https://cwiki.apache.org/confluence/display/AMBARI/Automated+Kerberizaton

Rob


From: Fay Wang <faywang300@yahoo.com<mailto:faywang300@yahoo.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>,
Fay Wang <faywang300@yahoo.com<mailto:faywang300@yahoo.com>>
Date: Thursday, April 21, 2016 at 9:43 AM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Subject: question on kerberos

Hi,

    After kerberization, is there any way to kerberos csv file from ambari server?  I tried
the following command, but got an error :-(

wget http://ambari-server-host:8080/resources/kerberos.csv -O /tmp/kerberos.csv

HTTP request sent, awaiting response... 404 Not Found
2016-04-21 13:29:51 ERROR 404: Not Found.


-fay
Mime
View raw message