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

doesn't response the server #4

Open
ggbence opened this issue Nov 5, 2014 · 7 comments
Open

doesn't response the server #4

ggbence opened this issue Nov 5, 2014 · 7 comments

Comments

@ggbence
Copy link

ggbence commented Nov 5, 2014

Hi,
i tried to use this package to request my CDH5 hive server (Hive 0.12.0-cdh5.1.2), but it doesn't bring answer. I could catch the server (i think, because when i wrote other wrong port, than i got "timeoutException"), but the console doesn't write the request answer. What would be the problem?
I've installed the npm install node-hive, and used Visual Studio 2013 with the latest node.js and vs plugin.

The code is:
var hive = require('node-hive').for({ server: "19.xx.yy.zz", port: 10000, "timeout": 1000 });

hive.fetch("select * from tab1", function (err, data) {
if (err) {
console.log(err);
}
data.each(function (record) {
console.log(record);
});
});

@ggbence ggbence changed the title doesn't answer the request doesn't response the server Nov 5, 2014
@fansia
Copy link

fansia commented May 25, 2015

I have bumped the same problem. Here are me setup:

  • Hortonworks 2.2.4 sandbox on vmware (fresh)
  • Hive version 0.14.0.2.2

By the way, I encountered the same situation with another hive nodejs lib(https://github.com/wdavidw/node-thrift-hive). Then I switched to use python with physic(https://github.com/BradRuderman/pyhs2/tree/master/pyhs2) and it works.

Does anyone know why?
Thanks a lot!

@mj399
Copy link

mj399 commented Aug 18, 2015

@fansia @ggbence
Hi
I ran into same problem.Did you guys figure out why it didnt get any response from server?

@glistolin
Copy link

The same problem... seems that hive.fetch() doesn't work.

@wuwanyu
Copy link

wuwanyu commented Mar 1, 2017

Unfortunately...me too...how are you solve this problem finally?or change to other package?

@Faynman-Dragon
Copy link

Oh,no,i have the same problem,how to solve this problem? Or other way to connect hive?

@tercel53
Copy link

tercel53 commented Aug 2, 2019

Oh,no,i have the same problem,how to solve this problem?

@lenchv
Copy link

lenchv commented Feb 23, 2020

Have you tried hive-driver to connect?

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

8 participants