- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Resource manager api not working to get running jobs
- Labels:
-
Apache YARN
Created ‎01-24-2023 03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
We are trying to execute RM API but its failing. with unauthorize access
We have Kerberos and TLS
API :
curl -X GET "https://master-servere.com:8090/ws/v43/cluster/apps/new-application" -H "accept: application/json" -k -v -u admin
HTTP/1.1 401 Unauthorized
< Pragma: no-cache
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< WWW-Authenticate: Negotiate
< Set-Cookie: hadoop.auth=; Path=/; Secure; HttpOnly
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Type: application/json
< Content-Length: 164
<
{
"servlet":"org.eclipse.jetty.servlet.DefaultServlet-73eb8672",
"message":"Authentication required",
"url":"/ws/v43/cluster/apps/new-application",
"status":"401"
* Connection #0 to host master-servere.com left intact
Created ‎01-24-2023 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arunek95 can you please suggest on this ?
Created ‎02-26-2023 05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case you have a valid kerberos ticket, kindly use --negotiate and submit again.
H!nt curl -X GET "https://master-servere.com:8090/ws/v43/cluster/apps/new-application" -H "accept: application/json" -k -v --negotiate -u admin
You may check for a valid Kerberos ticket using #klist
