-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This section is a tutorial for installing DBToaster local operators in the Squall project. It assumes that Squall is already in place. If not, please install it as explained here. Here are the steps for installing DBToaster:
-
In Squall's method
QueryBuilder.createTopology(SquallContext context), just before the return statement, invokeQueryBuilderDBToaster.createDBToasterTopology(queryPlan, context, conf);. -
Make sure you have
Scalav2.10 (or higher) installed. To check the version (and its presence on systemPATH), please runscala -version. If there is no appropriateScalaversion, please install it manually. For instance, the following commands installScalaon a Linux machine:$ wget http://www.scala-lang.org/files/archive/scala-2.10.4.deb $ sudo dpkg -i scala-2.10.4.deb $ sudo apt-get update $ sudo apt-get install scala -
Run
install_dbtoaster.shfrom the bin directory. -
The installation is complete. To test it, please go to Squall's (not SquallToaster's) bin directory, and run a query plan from the SquallToaster repository:
./squall_local.sh PLAN_RUNNER ../../squalltoaster/test/squall_plan_runner/confs/local/0_01G_dbtoaster_hyracks
The output should be the same as in [the Squall Hyracks plan](https://github.com/epfldata/squall/wiki/Quick-Start:-Local-Mode).