But we don’t have SSO, so that would required the ambari credentials be
available to the rest api


On May 1, 2017 at 16:10:03, Simon Elliston Ball (si...@simonellistonball.com)
wrote:

Ambari provides rest APIs to pull the values as long as you know (or can
write a chain of calls to find) things like the name of the cluster and
variable. Of course you’re writing an Ambari service, in which case there
are various ways. A bad, though arguably viable way would be to grab it
from the config files ambari writes and hope the restart had happened since
the last change.

Simon

> On 1 May 2017, at 21:05, Otto Fowler <ottobackwa...@gmail.com> wrote:
>
> To be more specific, from our REST Service.
>
> On May 1, 2017 at 16:03:07, Otto Fowler (ottobackwa...@gmail.com) wrote:
>
> The question is: How would one correctly access the values of the
> variables for metron that are set in Ambari?
> Say, to get the patterns dir in hdfs?
>
> Asking for a friend ;)

Reply via email to