Skip to main content
knarendran
Gold ⭐️
December 28, 2016

How to edit static view in Ambari?

  • October 5, 2026 at 9:31 AM
  • 0 replies
  • 991 views
  • Translate All

Static views or instances are created by default in Ambari. For smartsense the default view is non-editable, so you may end up creating additional views in such situations. Using the below curl command you can change the hostname of the hst server on the static instance.

curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{ "ViewInstanceInfo" : { "properties" : { "hst.server.url" : "<hst host>:9000"} } }’ http://<host>:<port>api/v1/views/HORTONWORKS_SMARTSENSE/versions/<version no>/instances/SmartSense