You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by hiba houimli <ho...@hotmail.fr> on 2011/05/10 16:16:54 UTC
run pig in mode hadoop
Hi,
I run hadoop in grid5000,I like to know how I can use pig in hadoop mode in this case
and thank you ?
Re: run pig in mode hadoop
Posted by Alan Gates <ga...@yahoo-inc.com>.
Are you asking how to point Pig to your Hadoop cluster in grid5000?
If so, By default Pig runs in Hadoop mode. In order to point it
towards a particular cluster you need to set the PIG_CLASSPATH
environment variable to the directory where your mapred-site.xml and
hdfs-site.xml configuration files are.
Alan.
On May 10, 2011, at 7:16 AM, hiba houimli wrote:
>
> Hi,
> I run hadoop in grid5000,I like to know how I can use pig in hadoop
> mode in this case
> and thank you ?
Re: run pig in mode hadoop
Posted by Alan Gates <ga...@yahoo-inc.com>.
Are you asking how to point Pig to your Hadoop cluster in grid5000?
If so, By default Pig runs in Hadoop mode. In order to point it
towards a particular cluster you need to set the PIG_CLASSPATH
environment variable to the directory where your mapred-site.xml and
hdfs-site.xml configuration files are.
Alan.
On May 10, 2011, at 7:16 AM, hiba houimli wrote:
>
> Hi,
> I run hadoop in grid5000,I like to know how I can use pig in hadoop
> mode in this case
> and thank you ?