Hbase Coprocesser

网上教程多是针对旧版本的,并且大部分都是基于这篇:

https://blogs.apache.org/hbase/entry/coprocessor_introduction

里面的类例如BaseRowProcessorEndpoint,CoprocessorProtocol之类在0.96之后被移除。

http://search-hadoop.com/jd/hbase/hbase-server/org/apache/hadoop/hbase/coprocessor/BaseRowProcessorEndpoint.html

新的RPC和Observer是通过Protobuf实现的。

找到两篇比较好的教程:

http://blog.csdn.net/yangzongzhao/article/details/24306775

http://my.oschina.net/yinlei212/blog/265363?p=1

http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/coprocessor/package-summary.html

ProtoBuf:

https://developers.google.com/protocol-buffers/docs/javatutorial?hl=zh-CN

http://www.searchtb.com/2012/09/protocol-buffers.html

相关推荐