利用ruby经过thrift接口批量插入hbase

由于工做中使用fluentd采集日志,须要使用ruby经过thrift接口插入数据到hbase中,网上搜索了一下,发现不少都是插入单个数据,没办法只好参考python语言写的批量插入修改了代码,终于搞定。html $:.unshift File.expand_path('gen-rb', File.dirname(__FILE__)) require 'thrift' require File.e
相关文章
相关标签/搜索