php-thrift-hive-client's Issues
'TException' with message 'TSocket: Could not connect to localhost:10000
Dear @garamon
I've installed hadoop, hive and apache thrift in my system . I cloned this repository and placed at my apache folder (/var/www) when i open this file .. its showing me blank page . When i run this from command line its showing me following error.
root@aaryan-pc:/usr/share/nginx/www/php-thrift-hive-client# php sample.php
PHP Fatal error: Uncaught exception 'TException' with message 'TSocket: Could not connect to localhost:10000 (Connection refused [111])' in /usr/share/nginx/www/php-thrift-hive-client/lib/transport/TSocket.php:191
Stack trace:
#0 /usr/share/nginx/www/php-thrift-hive-client/ThriftHiveClientEx.php(35): TSocket->open()
#1 /usr/share/nginx/www/php-thrift-hive-client/sample.php(13): ThriftHiveClientEx->open()
#2 {main}
thrown in /usr/share/nginx/www/php-thrift-hive-client/lib/transport/TSocket.php on line 191
My Environment :
OS : Ubuntu 12.04 LTS Precise 32-bit
server: Apache
Installed : Hadoop , Hive , Apache Thrift
Please help me to fix this issue
this lib doesn't work with HiveServer2
Just to avoid others effort to try out: this lib doesn't work with HiveSever2 for me.
I succeeded with another one "hive-hs2-php-thrift-master" which you may find in github.
good luck.
Fatal error: Uncaught exception 'TTransportException' with message 'TSocket: timed out reading 4 bytes from localhost:15867'
After successful restarting of hypertable with warning (" Low file descriptor limit (1024))"
. "Fatal error: Uncaught exception 'TTransportException' with message 'TSocket: timed out reading 4 bytes from localhost:' this error is showing in script.How to solve this.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.