metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From merrimanr <>
Subject [GitHub] metron issue #646: METRON-1030: Metron JDBC platform REST option should acce...
Date Tue, 11 Jul 2017 22:37:10 GMT
Github user merrimanr commented on the issue:
    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 or file a JIRA ticket
with INFRA.

View raw message