Giter Site home page Giter Site logo

node-thrift2-hbase's People

Contributors

dependabot[bot] avatar eranbetzalel avatar kuake avatar moshewe avatar rabn-expose avatar ran-p avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-thrift2-hbase's Issues

rowkey filter help

my key like 20170309204004FAS3KLP3524LIJFAE datetime+id,
hwo to scan by datetime start end and spicle id?
Thanks for your help

Taking too long to result

Below is my query which I am running against database containing only 140, 000 rows.

scan.add('patient_visit');    //scan all family info
scan.setLimit(50000); //search how much number rows

scan.setFilterString(
	"SingleColumnValueFilter('patient_visit', 'assignedPointOfCare', =, 'binary:WH-ED')"
	+" OR SingleColumnValueFilter('patient_visit', 'triageDatetime', >=, 'binary:20171116000000')"
	+" AND SingleColumnValueFilter('patient_visit', 'triageDatetime', <=, 'binary:20171117000000')"
);

HBase.scan('idrive_dev_hbase', scan, function(err,data){ //get users table
	if(err){
		console.log('error:',err);
		return;
	}
	console.log('Total rows scanned:', data.length);
	console.timeEnd('dbsave')
});

Never get to see any result as query took longer than 10 mins and I ran out of patience.

HBase - 1.1.2
thrift.hbase - one comes with module. (0.98.4)

Am I doing something wrong?

Support for Kerberos connection

I'm evaluating node-hbase for connecting to an HBase instance, but it's using REST rather than Thrift to connect.

Has Kerberos support for node-thirft2-hbase been discussed?

how to enable SKIP_WAL on put

Hi
We meet write bottleneck, and missing some data is acceptable in my project , so I think the better solution is to enable SKIP_WAL , but it seems it's not supported , could you help to add this feature ?

thanks a lot

xlwu

generic-pool _waitingClients size has been growing

like:

hbasePool.acquire(function(err, hbaseClient){
    //**Shortly after the start can not executed here**
});

Shortly after the start, I can't put anything to hbase
and I find generic-pool _waitingClients size has been growing.
How to find the problem?
Thanks for your reply

hbase thrift2 Memory has been growing

var put = function(region, obj, callback){
  var key = obj.key;

  var put = new Hbase.Put(key);
  put.add('p', 'a', obj.a.toString());
  put.add('p', 'b', obj.b.toString());

  Hbase.put(tbName, put, function(err, success){
    if(err){
      logger.error('put miui_metok:probe_location:',err);
    }
    callback(err, success);
  });
};

above as my code, but i find hbase thrift2 memory has been growing, and frequently triggered minor GC and full GC.
Scan method is OK.
Do you have any good advice?
Thanks for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.