AnsweredAssumed Answered

Connecting to MapR M7 using Node.js

Question asked by Abhinay on Nov 15, 2016
Latest reply on Dec 12, 2016 by Ted Dunning


Can anyone help me out how to connect to MapR M7 using Node.js? 


below is my code..


var hbase = require('hbase-rpc-client')
var client = hbase({
zookeeperHosts: [''],
zookeeperRoot: '/opt/mapr/hbase/hbase-0.98.12',
rootRegionZKPath: '/meta-region-server',
rpcTimeout: 30000,
pingTimeout: 30000,
callTimeout: 5000

client.on('error', function(err) {


var get;
get = new hbase.Get('1343').addColumn('cf1','requestId');
client.get("/sample/tables/feed" ,get, function(err, res) {
return console.log(arguments);



I am getting no Node exception..


Is this the right way to connect to Mapr M7 table? Please help!!