1.下载thrift-0.11.0.tar.gz
网址:Index of /dist/thrift/0.11.0
2.安装必要环境
yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel Python-devel ruby-devel crypto-utils
3.上传thrift-0.11.0.tar.gz到/usr/local文件夹
4.解压
tar zxf thrift-0.11.0.tar.gz
5.在cd thrift-0.11.0/文件夹下执行
./configure --with-cpp --with-boost --with-python --without-csharp --with-java --without-erlang --without-perl --with-php --without-php_extension --without-ruby --without-haskell --without-go
6.编译
make
7.安装
sudo make install
8.启动hbase的thrift服务
在hbase安装目录的bin下执行
./hbase-daemon.sh start thrift
———————————————— 版权声明:本文为CSDN博主「纯洁的小魔鬼」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/xyy1028/article/details/86248884
文章链接
发表评论