-
Notifications
You must be signed in to change notification settings - Fork 93
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
problem connection [hbase-client] zookeeper watch error: Exception: NO_NODE[-101] #72
Comments
Current hbase-client only support 0.94.x, 0.95+ you need to use this https://github.com/falsecz/node-hbase. |
hi, i hvae the same problem, and my hbase version is 0.94.16, have you solve it? how do you fix it? thanks |
Can you provide more information to reproduce the problem it is convenient for me? |
########################the output is: ################and my test program is: var client = hbase.create({ // console.log(client); var param = new hbase.Get('row1'); // console.log(param); client.get('test', param, function(err, row) { ############################################## |
I had a similar problem, after analyzing the Hbase log I foudn the following message:
I specified an incorrect port number, once I changed it from 2181 to 2182 it resolved the issue.
|
hi
my config :
hadoop 2.5
hbase : 0.96
zookeeper : 3.4.6
always i have the same problem
[Thu Sep 11 2014 18:11:36 GMT+0200 (CEST)] [worker:19663] [hbase-client] zookeeper watch error: Exception: NO_NODE[-101]
at ConnectionManager.onSocketData (/root/apps/node-hbase/node_modules/hbase-client/node_modules/zookeeper-watcher/node_modules/node-zookeeper-client/lib/ConnectionManager.js:570:35)
at Socket.emit (events.js:95:17)
at Socket. (stream_readable.js:764:14)
at Socket.emit (events.js:92:17)
at emitReadable (_stream_readable.js:426:10)
at emitReadable (_stream_readable.js:422:5)
at readableAddChunk (_stream_readable.js:165:9)
at Socket.Readable.push (_stream_readable.js:127:10)
at TCP.onread (net.js:528:21)
nodefile :
var HBase = require('hbase-client');
var config = {
zookeeperHosts: [
'localhost:2181',
],
zookeeperRoot: '/zookeeper',
};
var client = HBase.create(config);
client.getRow('test', 'row1', ['cf:a'], function (err, row) {
console.log("row");
console.log(row);
console.log("err");
console.log(err);
});
any idea ? thanks
The text was updated successfully, but these errors were encountered: