我尝试从hbase表加载所有数据。里面有10093条记录。这是我的Pig剧本
register 'zookeeper.jar'
register 'hbase-server-0.98.6-cdh5.3.2.jar'
result = LOAD 'hbase://clf_transaction_train'
USING org.apache.pig.backend.hadoop.hbase.HBaseStorage(
'cf:features cf:content', '-loadKey true')
AS ( content:bytearray, features:bytearray);
rmf $output;
STORE result INTO '$output';
脚本工作正常--没有任何错误消息。但只载入100条记录。
我该怎么修?谢谢。
1条答案
按热度按时间fdbelqdn1#
您可以尝试修改hbase扫描仪超时:
更多详情请点击此处http://www.cloudera.com/documentation/enterprise/5-6-x/topics/admin_hbase_scanner_heartbeat.html