You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by Otto Fowler <ot...@gmail.com> on 2017/06/02 16:55:49 UTC
Default Management UI username and password
For the life of me, I cannot find it, can someone point me in the right
direction?
Also how would you change it?
Re: Default Management UI username and password
Posted by Otto Fowler <ot...@gmail.com>.
Thanks!
On June 6, 2017 at 11:06:25, Anand Subramanian (asubramanian@hortonworks.com) wrote:
Hey Otto,
On Ambari UI -> Metron -> Config -> Advanced -> Advanced metron-env, can you set the following, then restart Metron REST and Management UI?
Metron JDBC Driver = org.h2.Driver
Metron JDBC password = root
Metron JDBC platform = h2
Metron JDBC URL = jdbc:h2:file:~/metrondb
Metron JDBC username = root
Active Spring profiles = dev
Once the services come up fine, you should be able to fire up the Management UI and login using: admin/password
Regards,
Anand
On 6/2/17, 10:58 PM, "Otto Fowler" <ot...@gmail.com> wrote:
>How do you change that if you start with ambari now and not from the cli?
>
>
>On June 2, 2017 at 13:19:44, Simon Elliston Ball (
>simon@simonellistonball.com) wrote:
>
>If you start with —spring.profiles.active=dev it will auto-create a user
>(user / password)
>
>To change it (and frankly for anything other than testing, you have to
>setup a proper DB. Right now you just update the password in the DB.
>
>We should probably push the authentication into kerberos with Spenego or
>some such for consistency.
>
>Simon
>
>> On 2 Jun 2017, at 17:55, Otto Fowler <ot...@gmail.com> wrote:
>>
>> For the life of me, I cannot find it, can someone point me in the right
>> direction?
>> Also how would you change it?
Re: Default Management UI username and password
Posted by Anand Subramanian <as...@hortonworks.com>.
Hey Otto,
On Ambari UI -> Metron -> Config -> Advanced -> Advanced metron-env, can you set the following, then restart Metron REST and Management UI?
Metron JDBC Driver = org.h2.Driver
Metron JDBC password = root
Metron JDBC platform = h2
Metron JDBC URL = jdbc:h2:file:~/metrondb
Metron JDBC username = root
Active Spring profiles = dev
Once the services come up fine, you should be able to fire up the Management UI and login using: admin/password
Regards,
Anand
On 6/2/17, 10:58 PM, "Otto Fowler" <ot...@gmail.com> wrote:
>How do you change that if you start with ambari now and not from the cli?
>
>
>On June 2, 2017 at 13:19:44, Simon Elliston Ball (
>simon@simonellistonball.com) wrote:
>
>If you start with —spring.profiles.active=dev it will auto-create a user
>(user / password)
>
>To change it (and frankly for anything other than testing, you have to
>setup a proper DB. Right now you just update the password in the DB.
>
>We should probably push the authentication into kerberos with Spenego or
>some such for consistency.
>
>Simon
>
>> On 2 Jun 2017, at 17:55, Otto Fowler <ot...@gmail.com> wrote:
>>
>> For the life of me, I cannot find it, can someone point me in the right
>> direction?
>> Also how would you change it?
Re: Default Management UI username and password
Posted by Otto Fowler <ot...@gmail.com>.
How do you change that if you start with ambari now and not from the cli?
On June 2, 2017 at 13:19:44, Simon Elliston Ball (
simon@simonellistonball.com) wrote:
If you start with —spring.profiles.active=dev it will auto-create a user
(user / password)
To change it (and frankly for anything other than testing, you have to
setup a proper DB. Right now you just update the password in the DB.
We should probably push the authentication into kerberos with Spenego or
some such for consistency.
Simon
> On 2 Jun 2017, at 17:55, Otto Fowler <ot...@gmail.com> wrote:
>
> For the life of me, I cannot find it, can someone point me in the right
> direction?
> Also how would you change it?
Re: Default Management UI username and password
Posted by Simon Elliston Ball <si...@simonellistonball.com>.
If you start with —spring.profiles.active=dev it will auto-create a user (user / password)
To change it (and frankly for anything other than testing, you have to setup a proper DB. Right now you just update the password in the DB.
We should probably push the authentication into kerberos with Spenego or some such for consistency.
Simon
> On 2 Jun 2017, at 17:55, Otto Fowler <ot...@gmail.com> wrote:
>
> For the life of me, I cannot find it, can someone point me in the right
> direction?
> Also how would you change it?