Comments (5)
Current hbase-client only support 0.94.x, 0.95+ you need to use this https://github.com/falsecz/node-hbase.
from node-hbase-client.
hi, i hvae the same problem, and my hbase version is 0.94.16, have you solve it? how do you fix it? thanks
from node-hbase-client.
Can you provide more information to reproduce the problem it is convenient for me?
from node-hbase-client.
########################the output is:
[Wed Mar 11 2015 17:04:19 GMT+0800 (**标准时间)] [worker:3620] [hbase-client] zookeeper watch error: Exception: NO_NODE[-101]
at ConnectionManager.onSocketData (E:\work\workspace_js\nodejs_test\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)
{ [NO_NODE: Exception: NO_NODE[-101]]
code: -101,
name: 'NO_NODE',
path: undefined,
message: 'Exception: NO_NODE[-101]' }
undefined
################and my test program is:
var hbase = require('hbase-client');
var client = hbase.create({
zookeeperHosts: [
'192.168.86.15:2181',
],
zookeeperRoot: "/data/hbase/zookeeper_data_09416"
});
// console.log(client);
var param = new hbase.Get('row1');
param.addColumn('cf', 'a');
// console.log(param);
client.get('test', param, function(err, row) {
console.log(err);
console.log(row);
});
##############################################
HBase Version: 0.94.16
from node-hbase-client.
I had a similar problem, after analyzing the Hbase log I foudn the following message:
not start ZK at requested port of 2181. ZK was started at port: 2182.
I specified an incorrect port number, once I changed it from 2181 to 2182 it resolved the issue.
var client = hbase.create({ zookeeperHosts: [ '0.0.0.0:2182', ], zookeeperRoot: "HBASE_ROOT_DIRECTORY
,
});
`
from node-hbase-client.
Related Issues (20)
- How to set the parameter hbase.client.keyvalue.maxsize to increase entry size ?
- hbase-rpc-client sometimes fails getting region info HOT 1
- 阿里啊,快跟新啊
- socket doesn't release, may block the request
- 使用Buffer.from替代utf8.encode
- ConnectionClosedException on newer nodejs HOT 2
- Update tests HOT 1
- Getting value's timestamp HOT 2
- 0.95.x and protobuf HOT 4
- Scan最多只扫出8000多条数据? HOT 2
- 现在支持反向scan吗 ? HOT 13
- hbase-client 如何get一个row的多版本的数据 HOT 1
- api like `show tables` HOT 2
- Closing connections HOT 1
- 1.1.2 该用什么去连 HOT 2
- FamilyFilter can't be created on the client
- kerberos
- TypeError: WritableUtils.writeString is not a function
- HBase client Performance issue HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-hbase-client.