Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> pig tutorial step


Copy link to this message
-
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 <[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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB