Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-70 Automate the process of building a distribution package
  3. S2GRAPH-75

Use an embedded database as the default metadata storage

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.1.0
    • None
    • None

    Description

      The current choice of the metadata storage - MySQL - served well for the production usage, but running the DBMS, creating database and tables, configuring the JDBC, etc. has not been transparent to the users, and most importantly, is not documented anywhere.

      In order for the users to be able to just download and run s2graph, it is desirable to use the metadata storage without setting up a separate MySQL server, at least for the first run. We should then recommend MySQL or similar for production usage.

      Derby, H2 and HSQL are popular choices for an embedded database in JVM, and we should figure out the most appropriate choice for us.

      As a side note, currently the only way to get the schema is to hack on the Vagrant image. This should also be made transparent and manageable somehow. For example, Hive metastore's schema is being managed using a schema and upgrade SQLs

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            jongwook Jong Wook Kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified