Skip to content

doesn't response the server #4

@ggbence

Description

@ggbence

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions