You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Ashutosh Chauhan <ha...@apache.org> on 2011/11/01 19:11:05 UTC

Re: pig tutorial step

Hey Matteo,

You can use pig-0.9.1.jar, document is not upto date.

Hope it helps,
Ashutosh

On Mon, Oct 31, 2011 at 14:03, Matteo Moci <mo...@gmail.com> wrote:

> Hello,
> I am running for the first time the tutorial at
> http://pig.apache.org/docs/r0.9.1/start.html
> and found that these lines seem not correct:
>
> [snip]
> Edit the build.xml file in the tutorial directory.
> Change this:   <property name="pigjar" value="../pig.jar" />
> To this:       <property name="pigjar" value="../pig-0.9.1-core.jar" />
> [/snip]
>
> I see no pig-0.9.1-core.jar, so I believe the step is unnecessary.
> I can see just:
> pig-0.9.1-withouthadoop.jar
> pig-0.9.1.jar
>
> Using pig-0.9.1.jar lets ant run fine and the command
> $ pig -x local script2-local.pig
>
> outputs this:
>
> $ cat part-r-00000
> and     2       1
> steel   1       1
> ukraine 1       1
>
>
>
>
>
> --
> Matteo Moci
> http://it.linkedin.com/in/matteomoci
> http://about.me/matteomoci/bio
>