metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Merriman <merrim...@gmail.com>
Subject Re: [Discussion] Access to Ambari Variables
Date Mon, 01 May 2017 20:19:00 GMT
You would supply Ambari credentials when you make the Ambari (not ours)
REST call.

On Mon, May 1, 2017 at 3:14 PM, Otto Fowler <ottobackwards@gmail.com> wrote:

> 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 (
> simon@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 <ottobackwards@gmail.com> wrote:
> >
> > To be more specific, from our REST Service.
> >
> > On May 1, 2017 at 16:03:07, Otto Fowler (ottobackwards@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 ;)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message