-
Notifications
You must be signed in to change notification settings - Fork 131
Compilation
flow edited this page Jan 3, 2017
·
19 revisions
- JDK 1.8+
- C++ compiler
- Linux: GCC 4.4.7, or higher version
- Mac: We use LLVM 7.0.0, other versions should work as well
- Maven 3.0+
- IndexR Project - github.com/shunfei/indexr
$> git clone [email protected]:shunfei/indexr.git
$> cd indexr
$> git checkout <lates-release-tag>
- Infobright java compression lib project - github.com/shunfei/infobright-4.0.7
$> git clone [email protected]:shunfei/infobright-4.0.7.git
$> cd infobright-4.0.7
$> git checkout <lates-release-tag>
- IndexR Apache Drill plugin - github.com/shunfei/drill
$> git clone [email protected]:shunfei/drill.git
$> cd drill
$> git checkout indexr-drill-1.8.0
Currently IndexR plugin is not yet in official Apache Drill project, and we are working into it.
-
Follow the instruction(github.com/shunfei/infobright-4.0.7), and generate compression libs.
-
At the root path of IndexR project, create a folder
lib
, and copy the generated libs into it.
$> cd .../indexr
$> mkdir -p lib
$> cp .../infobright-4.0.7/java_lib/* lib/
$> ls lib/
- Go to IndexR project folder, and run the scripts.
$> cd .../indexr
$> git checkout <latest_release_tag>
$> sh script/setup_all.sh
$> sh script/release_all.sh
$> ls distribution/indexr-<version>
Expected to list some generated folders:
indexr-drill/ indexr-hive/ indexr-tool/ lib/
They are what we need for deployment.
- Go to IndexR Apache Drill project folder, and build Drill IndexR plugin.
$> cd .../drill
$> git checkout indexr-drill-1.8.0
$> cd contrib/storage-indexr
$> mvn clean install -DskipTests
$> ls contrib/storage-indexr/target/drill-indexr-storage-1.8.0.jar
drill-indexr-storage-1.8.0.jar
is the jar file we need for deployment.