You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by George Pang <p0...@gmail.com> on 2009/05/15 07:24:35 UTC
PigPen Configuration
Dear Users,
In the "PigPen" Eclipse plugin tutorial ( http://wiki.apache.org/pig/PigPen),
it talks about the path configuration:
"To start using PigPen you will have to set the path to the directory
containing both hadoop-site.xml and pig.properties for the plugin to connect
to the cluster. This can be done by going to Eclipse preferences -> Pig and
adding a new variable
*ConfigurationPath<http://wiki.apache.org/pig/ConfigurationPath>*
to the JobConf <http://wiki.apache.org/pig/JobConf> properties"
But how could these two files exist in the same directory?
Any idea ASAP will be much appreciated.
George
Re: PigPen Configuration
Posted by nitesh bhatia <ni...@gmail.com>.
Hi
You can try setting the two values in same parameter by adding a ":" in
between. Your value will appear like this :
/Users/niteshbhatia/hadoop/hadoop-0.18.2/conf/hadoop-site.xml :
/Users/niteshbhatia/hadoop/pig/trunk/conf/pig.properties
If this doesn't works try setting 2 key-value pairs one for each path.
--nitesh
On Fri, May 15, 2009 at 11:32 AM, George Pang <p0...@gmail.com> wrote:
> Hi Shubham,
> My path for hadoop-site.xml is /usr/share/cloudera/hadoop/conf, while my
> pig.properties is lo cated in /usr/share/cloudera/pig/conf.
> So what's the ConfigurationPath value is for these 2 files?
>
> Thanks!
> Waiting for your reply.
> George
>
> 2009/5/14 Shubham Chopra <sh...@yahoo-inc.com>
>
> > Hi George,
> >
> > I am not sure why the two files can't be in the same directory? The
> plugin
> > needs configuration files to connect to the Hadoop cluster you might be
> > using. These details are in the hadoop-site.xml and pig.properties.
> >
> > Thanks,
> > Shubham.
> >
> > George Pang wrote:
> >
> >> Dear Users,
> >> In the "PigPen" Eclipse plugin tutorial (
> >> http://wiki.apache.org/pig/PigPen),
> >> it talks about the path configuration:
> >> "To start using PigPen you will have to set the path to the directory
> >> containing both hadoop-site.xml and pig.properties for the plugin to
> >> connect
> >> to the cluster. This can be done by going to Eclipse preferences -> Pig
> >> and
> >> adding a new variable
> >> *ConfigurationPath<http://wiki.apache.org/pig/ConfigurationPath>*
> >> to the JobConf <http://wiki.apache.org/pig/JobConf> properties"
> >>
> >> But how could these two files exist in the same directory?
> >>
> >> Any idea ASAP will be much appreciated.
> >>
> >> George
> >>
> >>
> >
>
--
Nitesh Bhatia
Dhirubhai Ambani Institute of Information & Communication Technology
Gandhinagar
Gujarat
"Life is never perfect. It just depends where you draw the line."
visit:
http://www.awaaaz.com - connecting through music
http://www.volstreet.com - lets volunteer for better tomorrow
http://www.instibuzz.com - Voice opinions, Transact easily, Have fun
Re: PigPen Configuration
Posted by George Pang <p0...@gmail.com>.
Hi Shubham,
My path for hadoop-site.xml is /usr/share/cloudera/hadoop/conf, while my
pig.properties is lo cated in /usr/share/cloudera/pig/conf.
So what's the ConfigurationPath value is for these 2 files?
Thanks!
Waiting for your reply.
George
2009/5/14 Shubham Chopra <sh...@yahoo-inc.com>
> Hi George,
>
> I am not sure why the two files can't be in the same directory? The plugin
> needs configuration files to connect to the Hadoop cluster you might be
> using. These details are in the hadoop-site.xml and pig.properties.
>
> Thanks,
> Shubham.
>
> George Pang wrote:
>
>> Dear Users,
>> In the "PigPen" Eclipse plugin tutorial (
>> http://wiki.apache.org/pig/PigPen),
>> it talks about the path configuration:
>> "To start using PigPen you will have to set the path to the directory
>> containing both hadoop-site.xml and pig.properties for the plugin to
>> connect
>> to the cluster. This can be done by going to Eclipse preferences -> Pig
>> and
>> adding a new variable
>> *ConfigurationPath<http://wiki.apache.org/pig/ConfigurationPath>*
>> to the JobConf <http://wiki.apache.org/pig/JobConf> properties"
>>
>> But how could these two files exist in the same directory?
>>
>> Any idea ASAP will be much appreciated.
>>
>> George
>>
>>
>
Re: PigPen Configuration
Posted by Shubham Chopra <sh...@yahoo-inc.com>.
Hi George,
I am not sure why the two files can't be in the same directory? The
plugin needs configuration files to connect to the Hadoop cluster you
might be using. These details are in the hadoop-site.xml and pig.properties.
Thanks,
Shubham.
George Pang wrote:
> Dear Users,
> In the "PigPen" Eclipse plugin tutorial ( http://wiki.apache.org/pig/PigPen),
> it talks about the path configuration:
> "To start using PigPen you will have to set the path to the directory
> containing both hadoop-site.xml and pig.properties for the plugin to connect
> to the cluster. This can be done by going to Eclipse preferences -> Pig and
> adding a new variable
> *ConfigurationPath<http://wiki.apache.org/pig/ConfigurationPath>*
> to the JobConf <http://wiki.apache.org/pig/JobConf> properties"
>
> But how could these two files exist in the same directory?
>
> Any idea ASAP will be much appreciated.
>
> George
>