Alan Gates
Thu, 25 Sep 2008 08:30:21 -0700
As far as where to put your code, if it's something that could actually be used for pig scripts, it can go in contrib under piggybank (the user contributed UDFs). If it's really for tutorial purposes and not production worthy I'm not sure. We could add a tutorial section to contrib. I think the existing tutorial is a unit aimed at helping people get started, so we don't want to add to it.
Alan. Earl Cahill wrote:
howdy, Just starting to dive into pig, and have had a hard time finding examples. I would like to put up some examples (on the wiki?) of what I hope to be simple scripts that could help find the following on a per host / per day basis hits hits per canonized userAgent average microseconds to serve per uri hits per canonized search engine hits per canonized search engine terms bytes hits per referer hits per canonized referer host etc Has such a library already been started? Some of the scripts will have to rely on some java helper code, which I would be happy to contribute, but where can I put it? Perhaps in tutorial.jar? helper.jar? Anyone have thoughts about such things on the wiki? Thanks, Earl