Hadoop 集群搭建 (十):Thrift

Thrift:行李少的可以从我这儿走…

alejandro-escamilla-10-unsplash

Thrift 安装配置

安装 Thrift

仅在 Master

安装依赖环境:

  • yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel openssl-devel
  • yum -y install boost-devel
  • yum -y install libevent-devel

安装:

  • cd /mnt/hgfs/Hadoop
  • cp thrift-0.12.0.tar.gz /usr/local/src/
  • cd /usr/local/src/
  • tar zxvf thrift-0.12.0.tar.gz
  • rm -rf thrift-0.12.0.tar.gz

c++ 三部曲

  • cd thrift-0.12.0
  • ./configure --with-cpp=no --with-ruby=no
  • make
  • make install

Hbase 源码包

  • cd /mnt/hgfs/Hadoop
  • cp hbase-1.3.3-src.tar.gz /usr/local/src/tmp
  • cd /usr/local/src/tmp
  • tar zxvf hbase-1.3.3-src.tar.gz
  • mv hbase-1.3.3 hbase-1.3.3-src
  • rm -rf hbase-1.3.3-src.tar.gz
  • mv hbase-1.3.3-src/ ../

待续……