简体   繁体   中英

How to scan HBase by python in MapReduce Job?

my program of mapreduce jobs is written by python, and I want to get data from HBase as input. Is there any way to scan the data in HBase table in MapReduce way, such as the TableMapper/Reducer in the native Java implementation. I learned that HappyBase can provide a easy way to interact with HBase, but it only works in client side.

您可以编写一个从HBase获取数据的Pig脚本,然后通过或(如果使用jython则)通过UDF集成python

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM