问题描述:

i am trying to use apache thrift to connect cassandra by PHP.

after i followed these steps, finally i run this command:

thrift -gen php interface/cassandra.thrift

but an error occured :

[FAILURE:arguments:1] Could not open input file with realpath: interface/cassandra.thrift

I cannot find where is the cassandra.thrift file ?

is there anybody that knows where is this file or what is wrong with my proccess ?

operating system ubuntu

command path : ext/thrift/

thrift -r --gen php tutorial.thrift

works fine, but cassandra.thrift is not.

网友答案:

Looks like you can get the file from the cassandra documentation...

https://wiki.apache.org/cassandra/ThriftInterface

https://svn.apache.org/repos/asf/cassandra/trunk/interface/cassandra.thrift

相关阅读:
Top