Github user merrimanr commented on the issue:
https://github.com/apache/metron/pull/646
Here's the challenge with all this. Maybe we can collaborate on the right
approach.
The REST app requires a relational database and setting that up is a
prerequisite, unless you want to use h2. We can provide a way to automatically
run a script and make this setup easier (we do that for h2 and mysql). But
it's likely that different orgs will want to use their own database and we
probably don't want to try and maintain scripts for every possible database out
there.
So what's the best approach? Do we:
- Remove the convenience scripts and document setup as best we can (again
providing the exact SQL statements for every database is not feasible). In
this case we would just remove this metron_jdbc_platform property from Ambari
because it's not needed anymore.
- Limit our database support to a handful of databases and provide setup
scripts for those? In this case the metron_jdbc_platform could be a dropdown
with the databases we support but users would be forced to use one of those.
- Keep it like it is now, provide a convenient way to initialize MySQL with
other databases requiring manual setup. In this case metron_jdbc_platform
would accept h2, mysql, or empty meaning the user is responsible for setup.
Either way, the READMEs need to be improved which probably includes moving
this database setup prerequisite to a higher level so that it's more obvious
and providing more detail around manual setup.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---