Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

cd asterixdb/asterix-installerserver/target/asterix-installerserver-0.9.13-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/install.html

WITH ONE CHANGE: In the unzipped folder, in conf/asterix-configuration.xml, you will need to add the following lines within the body of "asterixConfiguration":

 <extensions>

    <extension>

/opt/local

vi conf/cc.conf

Add the following lines to the end of cc.conf:

[extension/      <extensionClassName>org.apache.asterix.bad.langextension.BADQueryTranslatorExtension</extensionClassName>

    </extension>

    <extension>

      <extensionClassName>]
enabled = true
[extension/org.apache.asterix.bad.langextension.BADLangExtension</extensionClassName>

    </extension>

    <extension>

      <extensionClassName>]
enabled = true
[extension/org.apache.asterix.bad.metadataextension.BADMetadataExtension</extensionClassName>

    </extension>

  </extensions>

 

 

 

]
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