Bind to a copy of your metastore
Because linking directly to your own metastore may break the container contract, you can copy your metastore and bind to that copy. Perform the following steps to bind to a copy of your metastore:
Create an arbitrary directory on your host file system to serve as the shared folder.
For example, you can use
d:\metastoreon Windows.Copy the
.kettleand.pentahodirectories from your home directory to shared folder, thed:/metastoredirectory for this example.Copy any other files you need for processing your use case.
In our example, the
d:/metastoredirectory will then be bound to the/home/pentahodirectory for the container.Use the
DockMakercommand with-Mparameter specified.For example,
-M d:/metastore.
Last updated
Was this helpful?

