...
Local/Embedded Metastore Database (Derby)
An embedded metastore database is mainly used for unit tests. Only one process can connect to the metastore database at a time, so it is not really a practical solution but works well for unit tests.
For unit tests AdminManual MetastoreAdmin configuration for the metastore server is used in conjunction with embedded database.
...