pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Update of "LoadStoreMigrationGuide" by PradeepKamath
Date Thu, 25 Feb 2010 01:34:49 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The "LoadStoreMigrationGuide" page has been changed by PradeepKamath.


+ #format wiki
+ #language en
+ <<Navigation(children)>>
+ <<TableOfContents>>
+ == Overview ==
  This page describes how to migrate from the old !LoadFunc and !StoreFunc interface (Pig
0.1.0 through Pig 0.6.0) to the new interfaces proposed in http://wiki.apache.org/pig/LoadStoreRedesignProposal
and planned to be released in Pig 0.7.0. Besides the example in this page, users can also
look at !LoadFunc and !StoreFunc implementation in the piggybank codebase (contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage)
for examples of migration. For example, !MultiStorage implements a custom !OutputFormat.
  '''A general note applicable to both !LoadFunc and !StoreFunc implementations is that the
implementation should use the new Hadoop 20 API based classes (!InputFormat/OutputFormat and
related classes) under the org.apache.hadoop.mapreduce package instead of the old org.apache.hadoop.mapred

View raw message