LoginSignup
6
6

More than 5 years have passed since last update.

Mac OS X に Thrift を インストール

Last updated at Posted at 2012-09-10
curl https://dist.apache.org/repos/dist/release/thrift/0.8.0/thrift-0.8.0.tar.gz > thrift.tgz
cd trhrift-0.8.0
./configure --without-ruby
make
sudo make install

普通に configure したらrubyのところでエラーになった。
今回は使わんから--without-ruby にして無事終了。

hbase thrift start

で、thrift 経由で繋ぐことが出来る。

hbase  shell
create 't1', 'f1'

thrift --gen php ~/hbase-0.94.1/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift

動かすテストコードは以下より拝借して動かしてみたりする

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6