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
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.conf:
[extension/org.apache.asterix.bad.extension.BADQueryTranslatorExtension]
enabled = true
[extension/org.apache.asterix.bad.extension.BADLangExtension]
enabled = true
[extension/org.apache.asterix.bad.extension.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