pig-user  

Re: Can't start pig

Stefan Groschupf
Wed, 12 Mar 2008 14:17:50 -0700

Is your namenode running on hadoopm  as well?

On Mar 12, 2008, at 1:20 PM, Gabriel Laden wrote:

Hello I have setup a hadoop cluster, with the master running on hadoopm.

From this box, I am able to run hadoop, and hbase, but can't get pig started.

Do I need to tweak something in a config file?

...

[EMAIL PROTECTED] trunk]$ hadoop fs -ls /
Found 4 items
/export <dir> 2008-03-12 10:28 rwxr-xr-x hadoop supergroup /hbase <dir> 2008-03-12 11:29 rwxr-xr-x hadoop supergroup /production <dir> 2008-03-12 11:25 rwxr-xr- x hadoop supergroup /user <dir> 2008-03-12 11:24 rwxr-xr-x hadoop supergroup

[EMAIL PROTECTED] trunk]$ java -jar pig.jar -x local
grunt>

[EMAIL PROTECTED] trunk]$ java -cp pig.jar:/usr/local/hadoop/ conf org.apache.pig.Main 2008-03-12 13:14:03,279 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hadoopm:9000 2008-03-12 13:15:03,384 [main] ERROR org.apache.pig.Main - org.apache.pig.backend.executionengine.ExecException: Failed to create DataStorage


Thank you,
Gabriel Laden

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101tec Inc.
Menlo Park, California, USA
http://www.101tec.com