Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/griffinqiu/php-impala
A namespaced build of PHP Impala library made with Thrift
https://github.com/griffinqiu/php-impala
Last synced: 19 days ago
JSON representation
A namespaced build of PHP Impala library made with Thrift
- Host: GitHub
- URL: https://github.com/griffinqiu/php-impala
- Owner: griffinqiu
- License: apache-2.0
- Created: 2015-06-17T03:58:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2014-08-25T19:48:11.000Z (over 10 years ago)
- Last Synced: 2024-11-11T17:47:44.576Z (3 months ago)
- Language: PHP
- Size: 324 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Steps
* Copy the common/thrift directory from the cloudera/impala git project
* wget https://raw.github.com/cloudera/hive/cdh4.3.0-release/metastore/if/hive\_metastore.thrift
* wget https://raw.github.com/cloudera/hue/cdh4.3.0-release/apps/beeswax/thrift/include/fb303.thrift
* wget https://github.com/colinmarc/impala-ruby/raw/fbfb4f57266d9d9f9199ccdee14ce83b16d07ee4/thrift/Opcodes.thrift
* Modify the include in hive\_metastore.thrift to just be 'fb303.thrift'
* Namespace everything with 'namespace php ...'
* for x in thrift/\*.thrift; do thrift -gen php -out lib $x; done
* cp ~/src/thrift/lib/php/lib/Thrift/ lib/Thrift -rWith inspiration and help from
[php\_impala\_phar](https://github.com/rmcfrazier/php_impala_phar)Thrift things that needed to be fixed:
1. function echo
2. GLOBAL keyword