• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Frits Walraven
  • Himai Minh

kerberos spnego authentication not working for ambari hadoop server rest api url

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a hadoop server which namenode, datanode , YARN component etc are spnego kerberized and when we hit their url's on web we get as below -

url - http://host:50070/jmx?qry=Hadoop:*
here 50070 is namenode port output :


Problem accessing /index.html. Reason:

   GSSException: Defective token detected (Mechanism level: GSSHeader did not
above response on web indicates that url is kerberized.

I tried to enable spnego kerberos for ambari with using command "ambari-server setup-security" and completed kerberos configuration.

but when hit the url of ambari services rest api then getting proper output -

url - http://host:8080/api/v1/clusters/cluster_name/services/HDFS

I could see the proper output for above url on web . why both url's output is not same , it should be same if enabled kerberos .

please help and thanks in advance!!!
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic