Support Questions
Find answers, ask questions, and share your expertise

Need Password for Apache Metron UI of 0.4 version

Explorer

Has anyone tried installing Apache Metron 0.4, was able to install but unable to find the password for Metron Ui http://node:4200

9 REPLIES 9

Re: Need Password for Apache Metron UI of 0.4 version

Super Collaborator

Hello @Vijay Kumar, you will need to setup Spring Security and build the user credentials for Metron REST service,a s documented here.

As a quick workaround, you can try the following:

a) Login to Ambari UI -> Metron -> Configs -> Advanced -> Advanced metron-env. And ensure that the "Active Spring profiles" parameter is set to the value "dev". Then restart Metron REST service.

b) Now, you can fire up the Metron Management UI (http://node1:4200) and use the credentials "admin/password".

HTH,

Anand

Re: Need Password for Apache Metron UI of 0.4 version

Explorer

thanks for your reply.. I tried to follow the steps as provided by you.. When I configured "dev" value on "Active Spring profiles" and restart the service.. Login button of Metron Management UI (http://node1:4200) stop working.

Re: Need Password for Apache Metron UI of 0.4 version

Super Collaborator

After making the config changes, have you restarted both Metron REST and Metron Management UI services?

Re: Need Password for Apache Metron UI of 0.4 version

Explorer

yes tried, but after that Metron REST never came up.

Re: Need Password for Apache Metron UI of 0.4 version

Super Collaborator

Can you check the logs for Metron REST at /var/log/metron/metron-rest.log to see if there are any errors and paste it here?

Re: Need Password for Apache Metron UI of 0.4 version

Explorer

*** logs attached ***

logs.txt

something strange happening @asubramanian on metron rest side. whenever I restart the service. It remove the line "Metron JDBC password = root" it means it reverting back the changes on file "/etc/sysconfig/metron"

Re: Need Password for Apache Metron UI of 0.4 version

Explorer

here is logs from /var/log/metron/metron-rest.loglog1.txt

and I'm using below configuration 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

Re: Need Password for Apache Metron UI of 0.4 version

Super Collaborator

@Vijay Kumar, can you make these changes from the Ambari UI and then restart Metron REST?

(Go to Metron -> Config -> Advanced -> Advanced metron-env and set the properties -> Save -> Restart Metron REST)

Re: Need Password for Apache Metron UI of 0.4 version

Super Collaborator

@Vijay Kumar - if you found my answer to have solved your problem, would you mind accepting it?