Apache Pig可以使用PiggyBank从Hadoop序列文件加载数据SequenceFileLoader
:
REGISTER /home/hadoop/pig/contrib/piggybank/java/piggybank.jar;
DEFINE SequenceFileLoader org.apache.pig.piggybank.storage.SequenceFileLoader();
log = LOAD '/data/logs' USING SequenceFileLoader AS (...)
是否还有一个库允许从Pig写入Hadoop序列文件?