spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jianshi Huang (JIRA)" <>
Subject [jira] [Created] (SPARK-4758) Make metastore_db in-memory for HiveContext
Date Fri, 05 Dec 2014 06:27:13 GMT
Jianshi Huang created SPARK-4758:

             Summary: Make metastore_db in-memory for HiveContext
                 Key: SPARK-4758
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.2.0, 1.3.0
            Reporter: Jianshi Huang
            Priority: Minor

HiveContext by default will create a local folder metastore_db.

This is not very user friendly as the metastore_db will be locked by HiveContext and thus
will block multiple Spark process to start from the same directory.

I would propose adding a default hive-site.xml in conf/ with the following content.






jdbc:derby:memory:databaseName=metastore_db;create=true Will make sure the embedded derby
database is created in-memory.


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message