Re: Unable to Start Metron REST (With X-PACK)
What type of backing DB are you using? I don't believe you should need to change anything for an existing installation. Per the docs, I do see commands to create a metronrest database under "database setup" and insert statements to insert the users under "security > authentication." What do you believe is missing there? I'm pretty sure the automatic creation still exists for H2 databases - but be forewarned that this is only recommended for dev/testing/demo purposes. The community decided to not make database schema support a part of the platform, so only general sql commands are currently provided. Just an fyi, there has been some effort towards adding additional authentication options, e.g. LDAP. No ETA on this yet, but thought I'd mention it in case you would have interest in it. Since you've been working through this, do you have any feedback/improvements you can share? Obviously, our upgrade story is fairly manual right now, but there are plans to get things automated prior to a 1.0 release of Metron. Any other feedback or improvements you can suggest are welcome and greatly appreciated. Cheers, Mike On Fri, Oct 19, 2018 at 8:44 AM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > It is quite a string thing, earlier in VERSIO 0.4.2 MySQL database was > created automatically. As per docs > > https://metron.apache.org/current-book/metron-interface/metron-rest/index.html > > Even in it is issuing only INSERT commands not CREATE commands. Is it some > kind of bug ?? > > On Fri, Oct 19, 2018 at 7:21 PM Michael Miklavcic < > michael.miklav...@gmail.com> wrote: > >> It's in the rest app docs >> >> On Fri, Oct 19, 2018 at 8:14 AM Farrukh Naveed Anjum < >> anjum.farr...@gmail.com> wrote: >> >>> How to so do mysql setup ? >>> >>> On Fri, Oct 19, 2018, 6:49 PM Michael Miklavcic < >>> michael.miklav...@gmail.com> wrote: >>> That looks like 2 separate issues. For REST, check the type of db that's configured in Ambari. Only h2 will automatically create tables, users, and roles. In the version you're running, I believe DB setup steps are manual for other DB install options. On Thu, Oct 18, 2018 at 11:45 PM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > Guys, Please help what could be the potential causes ? I am unable to > fix this problem with Logs. No info there ??? > > On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < > anjum.farr...@gmail.com> wrote: > >> Hi, >> >> I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing >> X-PACK. When I startup the Metron REST Application. I does not create >> Tables in metronrest database. >> >> 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it >> does not exist in the stack-select package structure. >> 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it >> does not exist in the stack-select package structure. >> >> >> Rather It keep sayings this info message. Any Idea What should I do ? >> >> -- >> With Regards >> Farrukh Naveed Anjum >> > > > -- > With Regards > Farrukh Naveed Anjum > > > -- > With Regards > Farrukh Naveed Anjum >
Re: Unable to Start Metron REST (With X-PACK)
It is quite a string thing, earlier in VERSIO 0.4.2 MySQL database was created automatically. As per docs https://metron.apache.org/current-book/metron-interface/metron-rest/index.html Even in it is issuing only INSERT commands not CREATE commands. Is it some kind of bug ?? On Fri, Oct 19, 2018 at 7:21 PM Michael Miklavcic < michael.miklav...@gmail.com> wrote: > It's in the rest app docs > > On Fri, Oct 19, 2018 at 8:14 AM Farrukh Naveed Anjum < > anjum.farr...@gmail.com> wrote: > >> How to so do mysql setup ? >> >> On Fri, Oct 19, 2018, 6:49 PM Michael Miklavcic < >> michael.miklav...@gmail.com> wrote: >> >>> That looks like 2 separate issues. For REST, check the type of db that's >>> configured in Ambari. Only h2 will automatically create tables, users, and >>> roles. In the version you're running, I believe DB setup steps are manual >>> for other DB install options. >>> >>> On Thu, Oct 18, 2018 at 11:45 PM Farrukh Naveed Anjum < >>> anjum.farr...@gmail.com> wrote: >>> Guys, Please help what could be the potential causes ? I am unable to fix this problem with Logs. No info there ??? On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > Hi, > > I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing > X-PACK. When I startup the Metron REST Application. I does not create > Tables in metronrest database. > > 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it does > not exist in the stack-select package structure. > 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it does > not exist in the stack-select package structure. > > > Rather It keep sayings this info message. Any Idea What should I do ? > > -- > With Regards > Farrukh Naveed Anjum > -- With Regards Farrukh Naveed Anjum >>> -- With Regards Farrukh Naveed Anjum
Re: Unable to Start Metron REST (With X-PACK)
It's in the rest app docs On Fri, Oct 19, 2018 at 8:14 AM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > How to so do mysql setup ? > > On Fri, Oct 19, 2018, 6:49 PM Michael Miklavcic < > michael.miklav...@gmail.com> wrote: > >> That looks like 2 separate issues. For REST, check the type of db that's >> configured in Ambari. Only h2 will automatically create tables, users, and >> roles. In the version you're running, I believe DB setup steps are manual >> for other DB install options. >> >> On Thu, Oct 18, 2018 at 11:45 PM Farrukh Naveed Anjum < >> anjum.farr...@gmail.com> wrote: >> >>> Guys, Please help what could be the potential causes ? I am unable to >>> fix this problem with Logs. No info there ??? >>> >>> On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < >>> anjum.farr...@gmail.com> wrote: >>> Hi, I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing X-PACK. When I startup the Metron REST Application. I does not create Tables in metronrest database. 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it does not exist in the stack-select package structure. 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it does not exist in the stack-select package structure. Rather It keep sayings this info message. Any Idea What should I do ? -- With Regards Farrukh Naveed Anjum >>> >>> >>> -- >>> With Regards >>> Farrukh Naveed Anjum >>> >>
Re: Unable to Start Metron REST (With X-PACK)
How to so do mysql setup ? On Fri, Oct 19, 2018, 6:49 PM Michael Miklavcic wrote: > That looks like 2 separate issues. For REST, check the type of db that's > configured in Ambari. Only h2 will automatically create tables, users, and > roles. In the version you're running, I believe DB setup steps are manual > for other DB install options. > > On Thu, Oct 18, 2018 at 11:45 PM Farrukh Naveed Anjum < > anjum.farr...@gmail.com> wrote: > >> Guys, Please help what could be the potential causes ? I am unable to fix >> this problem with Logs. No info there ??? >> >> On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < >> anjum.farr...@gmail.com> wrote: >> >>> Hi, >>> >>> I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing X-PACK. >>> When I startup the Metron REST Application. I does not create Tables in >>> metronrest database. >>> >>> 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it does >>> not exist in the stack-select package structure. >>> 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it does >>> not exist in the stack-select package structure. >>> >>> >>> Rather It keep sayings this info message. Any Idea What should I do ? >>> >>> -- >>> With Regards >>> Farrukh Naveed Anjum >>> >> >> >> -- >> With Regards >> Farrukh Naveed Anjum >> >
Re: Unable to Start Metron REST (With X-PACK)
That looks like 2 separate issues. For REST, check the type of db that's configured in Ambari. Only h2 will automatically create tables, users, and roles. In the version you're running, I believe DB setup steps are manual for other DB install options. On Thu, Oct 18, 2018 at 11:45 PM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > Guys, Please help what could be the potential causes ? I am unable to fix > this problem with Logs. No info there ??? > > On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < > anjum.farr...@gmail.com> wrote: > >> Hi, >> >> I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing X-PACK. >> When I startup the Metron REST Application. I does not create Tables in >> metronrest database. >> >> 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it does >> not exist in the stack-select package structure. >> 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it does >> not exist in the stack-select package structure. >> >> >> Rather It keep sayings this info message. Any Idea What should I do ? >> >> -- >> With Regards >> Farrukh Naveed Anjum >> > > > -- > With Regards > Farrukh Naveed Anjum >
Re: Unable to Start Metron REST (With X-PACK)
Guys, Please help what could be the potential causes ? I am unable to fix this problem with Logs. No info there ??? On Wed, Oct 17, 2018 at 3:59 PM Farrukh Naveed Anjum < anjum.farr...@gmail.com> wrote: > Hi, > > I have Installed Baremetal 0.6.0 on Ambari 2.6 after installing X-PACK. > When I startup the Metron REST Application. I does not create Tables in > metronrest database. > > 2018-10-17 12:46:35,904 - Skipping stack-select on METRON because it does not > exist in the stack-select package structure. > 2018-10-17 12:46:35,925 - Skipping stack-select on METRON because it does not > exist in the stack-select package structure. > > > Rather It keep sayings this info message. Any Idea What should I do ? > > -- > With Regards > Farrukh Naveed Anjum > -- With Regards Farrukh Naveed Anjum