Storing data to SequenceFile from Apache Pig
Posted
by asquithea
on Stack Overflow
See other posts from Stack Overflow
or by asquithea
Published on 2010-03-11T09:52:51Z
Indexed on
2010/03/12
12:27 UTC
Read the original article
Hit count: 556
Apache Pig can load data from Hadoop sequence files using the PiggyBank 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 (...)
Is there also a library out there that would allow writing to Hadoop sequence files from Pig?
© Stack Overflow or respective owner