|| at Jun 26, 2009 at 1:51 pm
email@example.com is the right mailing list for pig questions.
I assume your jar file has an embedded pig script. If your jar file includes
pig.jar you don't need to specify pig.jar . Assuming that the class called
YourClass has the main function. The cmd would look like -
java -cp YourJar.jar:$HADOOPSITEPATH YourClass
See the example in -http://hadoop.apache.org/pig/docs/r0.2.0/quickstart.html
On 6/25/09 10:13 PM, "krishna prasanna" wrote:
Here is my scenario
1. Having Cluster of 3 machines,
2. Have a Jar file with includes PIG.jar.
How can i run a Jar (instead of PIG Script file) in Hadoop mode ?
for running script file in hadoop mode,
"java -cp $PIGDIR/pig.jar:$HADOOPSITEPATH org.apache.pig.Main
any suggesions/pointers please ??
appologies if i post to a wrong alias.
ICC World Twenty20 England '09 exclusively on YAHOO! CRICKEThttp://cricket.yahoo.com