版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xyy1028/article/details/86248884
1.下载thrift-0.11.0.tar.gz
网址:http://archive.apache.org/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