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
This will create the installer file in
asterixdb/asterix-installer/target/asterix-installer-0.9.1-SNAPSHOT-binary-assembly.zip
You can unzip this as your Asterix source and follow the instructions here to setup a cluster: https://ci.apache.org/projects/asterixdb/ncservice.html
WITH ONE CHANGE: You will need to add the following to your cc config file (e.g. cc.conf):
[extension/org.apache.asterix.bad.lang.BADQueryTranslatorExtension]
[extension/org.apache.asterix.bad.lang.BADLangExtension]
[extension/org.apache.asterix.bad.metadata.BADMetadataExtension]