Husky SQL has the following minimal dependencies:
- nlohmann/json (Version >= 3.2.0, it will be installed automatically)
- All dependencies of husky
Download the latest source code of Husky SQL:
git clone --recursive https://github.com/husky-team/husky-sql.git
cd husky-sqlDo an out-of-source build using CMake:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release # CMAKE_BUILD_TYPE: Release, Debug, RelWithDebInfo
make help # List all build target
make -j{N} # Make using N threadsFor information of configuring and running Husky, please take a look at the Husky README.
make HuskyQueryPlanToJsonmake ExecuteSimpleQuery master_host=w10
master_port=56789
comm_port=45678
hdfs_namenode=proj99
hdfs_namenode_port=9000
serve=0
json_url=hdfs://localhost:9000/husky-sql/input/plan.json
output_path=hdfs://proj99:9000/husky-sql/output/
[worker]
info=w1:4
info=w2:4
info=w3:4
info=w4:4
info=w5:4