0.0.9 • Published 5 years ago
io-hbase v0.0.9
io-hbase
REST API client for HBase.
Installing Dependencies
$ npm install io-hbase
Creating Instance
ES5
var Hbase = require('io-hbase');
var hbaseClient = Hbase.createClient({
host: 'localhost',
port: 8080
});
ES6 or above
import * as Hbase from 'io-hbase';
const hbaseClient = Hbase.createClient({
host: 'localhost',
port: 8080
})
Launch HBase using docker
- https://github.com/dajobe/hbase-docker
- RestAPI Endpoint
- localhost:8080
$ docker run -d \
-p 16010:16010 \
-p 9095:9095 \
-p 8080:8080 \
-p 8085:8085 \
dajobe/hbase