Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hive Thrift execution error #33

Open
Raji25 opened this issue Sep 26, 2016 · 0 comments
Open

Hive Thrift execution error #33

Raji25 opened this issue Sep 26, 2016 · 0 comments

Comments

@Raji25
Copy link

Raji25 commented Sep 26, 2016

The code has been taken from "https://cwiki.apache.org/confluence/display/Hive/HiveClient". while executing the PHP code the error occured is as follows
"Fatal error: Uncaught exception 'HiveExecuteException' with message 'HiveExecuteException: Execute Error:: TSocket: Could not read 4 bytes from localhost:10000 query:: SHOW DATABASES ' in /opt/lampp/htdocs/thrift/ThriftHiveClientEx.php:74 Stack trace: #0 /opt/lampp/htdocs/thrift/sample.php(14): ThriftHiveClientEx->execute('SHOW DATABASES') #1 {main} thrown in /opt/lampp/htdocs/thrift/ThriftHiveClientEx.php on line 74"

How to overcome this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant