Reputation: 309
I installed Apache Thrift on a running HBase (v 0.92 which is provided by default by amazon) cluster (I followed the official tutorial), but when I arrive at the point where I need to generate the required php files (thrift --gen php hbase.thrift
), I can't find the hbase.thrift file anywhere.
Upvotes: 1
Views: 444
Reputation: 69
On AWS EMR, you can find the hbase1.thrift and hbase2.thrift with the follow way:
[hadoop@ip-10-232-13-248 ~]$ sudo find / -name thrift
/usr/lib/hbase/include/thrift
/usr/lib/hbase/hbase-webapps/thrift
[hadoop@ip-10-232-13-248 ~]$ cd /usr/lib/hbase/include/thrift
[hadoop@ip-10-232-13-248 thrift]$ ls
hbase1.thrift hbase2.thrift
Upvotes: 0
Reputation: 3495
The hbase thrift idl (Hbase.thrift) is packaged with the hbase source and located in:
src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
Upvotes: 0