-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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);
});
});
Metadata
Metadata
Assignees
Labels
No labels