adaltas / node-hbase

Asynchronous HBase client for NodeJs using REST

Home Page:https://hbase.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to connect to hbase server using nodejs

RAKESH1256 opened this issue · comments

var hbase = require('hbase');
hbase({
host: 'host.com',
port: 22,
timeout: 6000,
"krb5": {
"principal": "username@username",
"password": "password@password"
}
})
.table('emp')
.scan({
startRow: 'name',
maxVersions: 1
}, function (err, rows) {
console.log(err, rows);
});

krb5 shall look like:

  "krb5": {
    "principal": "ryba@HADOOP.RYBA",
    "password": "test123",
    "service_principal": "HTTP@master3.ryba"
  }
commented

I think you can close this @wdavidw