Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig, mail # user - pig tutorial step


+
Matteo Moci 2011-10-31, 21:03
Copy link to this message
-
Re: pig tutorial step
Ashutosh Chauhan 2011-11-01, 18:11
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 <[EMAIL PROTECTED]> 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
>