You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Prashant Kommireddi <pr...@gmail.com> on 2013/03/15 17:21:20 UTC

Re: Error 4010 Cannot find hadoop configurations in classpath

Take a look at
http://pig.apache.org/docs/r0.11.0/start.html#Running+the+Pig+Scripts+in+Mapreduce+Mode

Additionally, you can try "pig -x local" if you wish to run it in local
mode
http://pig.apache.org/docs/r0.11.0/start.html#Running+the+Pig+Scripts+in+Local+Mode

Please follow the instructions on the Getting Started page, a lot of
questions should be answered there regarding setup.

On Fri, Mar 15, 2013 at 8:54 AM, oualid ait wafli <oualid.aitwafli@gmail.com
> wrote:

> Hi
>
> when I start Pig this error appear :
>
> ERROR org.apache.pig.Main - ERROR 4010: Cannot find hadoop configurations
> in classpath (neither hadoop-site.xml nor core-site.xml was found in the
> classpath). If you plan to use local mode, please put -x local option in
> command line
>
> I think th e problem is in relying Pig with Hadoop !
>
> Can somebody help me
>
> thank you
>