exposebox/node-thrift2-hbase

how to enable SKIP_WAL on put

xiaoliangwu opened this issue · 2 comments

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

It isn't supported since Put doesn't pass on the durability arguments to the underlying thrift generated node.js implementation. See client.js:234.

You can make a PR with code that passes the durability arguments into the HBaseTypes.TPut constructor, that's supposed to do the trick.

Also, see the thrift file definitions for TDurability and how they are generated to make sure you pass along the right parameters.