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:\metastore
on Windows.Copy the
.kettle
and.pentaho
directories from your home directory to shared folder, thed:/metastore
directory for this example.Copy any other files you need for processing your use case.
In our example, the
d:/metastore
directory will then be bound to the/home/pentaho
directory for the container.Use the
DockMaker
command with-M
parameter specified.For example,
-M d:/metastore
.
Last updated
Was this helpful?