Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • and remove them :
    rpm -e <package name>

HTTP error 400 – Bad Request – during REST call (POST, PUT, DELETE) to Ambari server

Ambari Server now expects an additional HTTP header called "X-Requested-By" for all non-GET calls. The value can be set to anything. For example:

Code Block
curl -i -H 'X-Requested-By: mycompany' -X POST -d '{"Clusters": {"version": "HDP-2.0.6"}}' --user admin:admin http://hadoop1.mycompany.com:8080/api/v1/clusters/cluster1

 

Anchor
Spaces in manager DN/Base DN causing login issues in Ambari
Spaces in manager DN/Base DN causing login issues in Ambari
#Spaces in manager DN/Base DN causing login issues in Ambari

...

  • Stop ambari server using
Code Block

ambari-server stop
  • Replace the ambari server jar with the downloaded jar. Please backup the ambari-server jar before you overwrite in case you run into issues.
Code Block

cp <downloaded_ambari_server_jar> /usr/lib/ambari-server/ambari-server-1.2.5.17.jar
  • Restart Ambari Server
Code Block

ambari-server start

This should fix the issue with spaces in LDAP dn names.