In order to run an instance of AsterixDB that uses the BAD project, please use the following commands:
git clone https://github.com/apache/asterixdb.git asterix
cd asterix/asterixdb/
git clone https://github.com/apache/asterixdb-bad.git asterix-opt
cd ..
mvn clean install -U -DskipTests
You can then follow the instructions here to setup a cluster: https://ci.apache.org/projects/asterixdb/ncservice.html
cd asterixdb/asterix-server/target/asterix-server-0.9.3-SNAPSHOT-binary-assembly/opt/local
vi conf/cc.conf
Add the following lines to the end of cc.confWITH ONE CHANGE: You will need to add the following to your cc config file (e.g. cc.conf):
[extension/org.apache.asterix.bad.langextension.BADQueryTranslatorExtension]
enabled = true
[extension/org.apache.asterix.bad.langextension.BADLangExtension]
enabled = true
[extension/org.apache.asterix.bad.metadataextension.BADMetadataExtension]
enabled = true
[extension/org.apache.asterix.bad.extension.BADRecoveryExtension]
enabled = true
cd bin
./start-sample-cluster.sh
You can look here for more information on setting up an Asterix cluster: https://ci.apache.org/projects/asterixdb/ncservice.html