- Working Java setup
- Datomic Pro > 0.9.5390
- transactor config file:
- You need to set up your license plus the data-dir setting.
- The data-dir setting needs to match the DATADIR in
run.sh
- Write permissions on the DATADIR
- bash
- Start your storage (skip when using dev storage)
./run.sh
(make it executable first)
- Mac OS X/datomic pro 0.9.5390/datomic pro 0.9.5359/cassandra + dev storage
- You might need to adjust the hardcoded 2 sec wait for the transactor to boot up in trigger-write.clj
- removes write permissions from the datomic distribution data dir
- starts a transactor with a custom data-dir configured via property file
- creates a new database
- installs two string attributes without index
- adds data (~ 100 facts per attribute are enough)
- alters the schema for each attribute to have an index
- transactor ignores the data-dir setting tries to write to distribution directory which fails (see step 1) and exits.
- specifying the configured data-dir via system property directly as in
-Ddatomic.dataDir=$DATADIR
./run.sh w
(or any argument to the script) to demonstrate the workaround