I have these in my project, not sure where they came from.. THRIFT_ROOT/packages/fb303
http://pastebin.com/f1ecb38aa THRIFT_ROOT/packages/reflection_limited http://pastebin.com/d6658b538 Steve Corona ________________________________________ From: Gary Richardson [[email protected]] Sent: Monday, February 23, 2009 1:11 PM To: [email protected] Subject: PHP - fb303_types.php Hi, I'm trying to work with the PHP thrift api and I've hit a stumbling block. My script looks like: #!/usr/bin/php <?php $GLOBALS['THRIFT_ROOT'] = 'thriftroot/'; require_once $GLOBALS['THRIFT_ROOT'] . 'packages/hive_service/ThriftHive.php'; And I'm getting the following error when I try to run it: PHP Warning: include_once(thriftroot//packages/fb303/fb303_types.php): failed to open stream: No such file or directory in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/hive_service_types.php on line 9 PHP Warning: include_once(): Failed opening 'thriftroot//packages/fb303/fb303_types.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/hive_service_types.php on line 9 PHP Warning: include_once(thriftroot//packages/hive_metastore/hive_metastore_types.php): failed to open stream: No such file or directory in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/hive_service_types.php on line 10 PHP Warning: include_once(): Failed opening 'thriftroot//packages/hive_metastore/hive_metastore_types.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/hive_service_types.php on line 10 PHP Warning: include_once(thriftroot//packages/hive_metastore/ThriftHiveMetastore.php): failed to open stream: No such file or directory in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/ThriftHive.php on line 10 PHP Warning: include_once(): Failed opening 'thriftroot//packages/hive_metastore/ThriftHiveMetastore.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/ThriftHive.php on line 10 PHP Fatal error: Interface 'ThriftHiveMetastoreIf' not found in /root/leap/dev/servers/hive/thriftroot/packages/hive_service/ThriftHive.php on line 12 I found FacebookBase.php, but my searching/googling hasn't revealed a fb303_types.php. My packages directory looks like: [r...@ip-10-250-31-17 hive]# find thriftroot/packages/ -type f thriftroot/packages/hive_service/ThriftHive.php thriftroot/packages/hive_service/hive_service_types.php thriftroot/packages/fb303/FacebookBase.php Is there a package somewhere that has the fb303 thrift code in it? Do I need to build it myself? Thanks!
