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
...
[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