标签:
简介
Husky是一个大数据分布式开发框架,用C++开发,因为粗粒度(coarse-grained)平台(如Spark,Hadoop,Flink)MR耗时太大,然后细粒度(fine-grained)平台(GraphX等)编程难度较大,同时细粒度在数据平台之间转移会很耗时。Husky就是在粗粒度和细粒度之间做一个权衡,在PageRank上,他的性能是Spark的30+倍。
Husky主页:http://www.husky-project.com/
升级gcc到5.3
参见博客 http://www.cnblogs.com/loadofleaf/p/5667989.html
安装必要的基础库
1 apt-get update -y 2 apt-get install software-properties-common -y 3 apt-get install build-essential libgoogle-perftools-dev libzmq3-dev libboost-dev git -y
编译安装cmake 3.x
1 wget https://cmake.org/files/v3.6/cmake-3.6.0.tar.gz 2 tar xf cmake-3.6.0.tar.gz 3 cd cmake-3.6.0/ 4 ./bootstrap 5 make -j4 6 sudo make install
cmake 版本查看
编译安装boost1.58
查看博客 http://www.cnblogs.com/loadofleaf/p/5668109.html
git cppzmp(Husky底层通信机制是采用zeromq的)
1 mkdir tmp 2 cd tmp 3 git clone https://github.com/zeromq/cppzmq 4 cd cppzmq 5 sudo cp zmq.hpp /usr/local/include 6 cd ../..
安装pssh(运行husky命令所需)
1 wget http://parallel-ssh.googlecode.com/files/pssh-2.3.1.tar.gz 2 tar zxvf pssh-2.3.1.tar.gz 3 cd pssh-2.3.1/ 4 sudo python setup.py install
编译安装husky
1 unzip husky-0.2.zip 2 cd husky/ 3 mkdir release 4 cd release 5 cmake .. 6 make -j4 Master 7 make -j4 PageRank 8 make -j4 SVM-DC 9 make -j4 Daemon
测试
标签:
原文地址:http://www.cnblogs.com/loadofleaf/p/5668042.html