Re: How to configure the Resource Manager endpoint for YARN?

2015-04-15 Thread Chris Riccomini
Hey Roger,

Hmm, that's good to know, lol. Wonder how our's is working. :) I'll poke
around.

Cheers,
Chris

On Wed, Apr 15, 2015 at 11:17 AM, Roger Hoover 
wrote:

> Turns out that HADOOP_CONF_DIR is the right env var (YARN_CONF_DIR did not
> work).  I had just messed up the directory path.  Doh!
>
> Sent from my iPhone
>
> > On Apr 15, 2015, at 9:41 AM, Roger Hoover 
> wrote:
> >
> > I'll try that.  Thanks, Chris.
> >
> >> On Wed, Apr 15, 2015 at 9:37 AM, Chris Riccomini 
> wrote:
> >> Hey Roger,
> >>
> >> Not sure if this makes a difference, but have you tried using:
> >>
> >>   export YARN_CONF_DIR=...
> >>
> >> Instead? This is what we use.
> >>
> >> Cheers,
> >> Chris
> >>
> >> On Wed, Apr 15, 2015 at 9:33 AM, Roger Hoover 
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I'm trying to deploy a job to a small YARN cluster.  How do tell the
> >> > launcher script where to find the Resource Manager?  I tried creating
> a
> >> > yarn-site.xml and setting HADOOP_CONF_DIR environment variable but it
> >> > doesn't find my config.
> >> >
> >> > 2015-04-14 22:02:45 ClientHelper [INFO] trying to connect to RM
> >> > 0.0.0.0:8032
> >> > 2015-04-14 22:02:45 RMProxy [INFO] Connecting to ResourceManager at /
> >> > 0.0.0.0:8032
> >> >
> >> > Thanks,
> >> >
> >> > Roger
> >> >
> >
>


Re: How to configure the Resource Manager endpoint for YARN?

2015-04-15 Thread Roger Hoover
Turns out that HADOOP_CONF_DIR is the right env var (YARN_CONF_DIR did not 
work).  I had just messed up the directory path.  Doh!

Sent from my iPhone

> On Apr 15, 2015, at 9:41 AM, Roger Hoover  wrote:
> 
> I'll try that.  Thanks, Chris.
> 
>> On Wed, Apr 15, 2015 at 9:37 AM, Chris Riccomini  
>> wrote:
>> Hey Roger,
>> 
>> Not sure if this makes a difference, but have you tried using:
>> 
>>   export YARN_CONF_DIR=...
>> 
>> Instead? This is what we use.
>> 
>> Cheers,
>> Chris
>> 
>> On Wed, Apr 15, 2015 at 9:33 AM, Roger Hoover 
>> wrote:
>> 
>> > Hi,
>> >
>> > I'm trying to deploy a job to a small YARN cluster.  How do tell the
>> > launcher script where to find the Resource Manager?  I tried creating a
>> > yarn-site.xml and setting HADOOP_CONF_DIR environment variable but it
>> > doesn't find my config.
>> >
>> > 2015-04-14 22:02:45 ClientHelper [INFO] trying to connect to RM
>> > 0.0.0.0:8032
>> > 2015-04-14 22:02:45 RMProxy [INFO] Connecting to ResourceManager at /
>> > 0.0.0.0:8032
>> >
>> > Thanks,
>> >
>> > Roger
>> >
> 


Re: How to configure the Resource Manager endpoint for YARN?

2015-04-15 Thread Roger Hoover
I'll try that.  Thanks, Chris.

On Wed, Apr 15, 2015 at 9:37 AM, Chris Riccomini 
wrote:

> Hey Roger,
>
> Not sure if this makes a difference, but have you tried using:
>
>   export YARN_CONF_DIR=...
>
> Instead? This is what we use.
>
> Cheers,
> Chris
>
> On Wed, Apr 15, 2015 at 9:33 AM, Roger Hoover 
> wrote:
>
> > Hi,
> >
> > I'm trying to deploy a job to a small YARN cluster.  How do tell the
> > launcher script where to find the Resource Manager?  I tried creating a
> > yarn-site.xml and setting HADOOP_CONF_DIR environment variable but it
> > doesn't find my config.
> >
> > 2015-04-14 22:02:45 ClientHelper [INFO] trying to connect to RM
> > 0.0.0.0:8032
> > 2015-04-14 22:02:45 RMProxy [INFO] Connecting to ResourceManager at /
> > 0.0.0.0:8032
> >
> > Thanks,
> >
> > Roger
> >
>


Re: How to configure the Resource Manager endpoint for YARN?

2015-04-15 Thread Chris Riccomini
Hey Roger,

Not sure if this makes a difference, but have you tried using:

  export YARN_CONF_DIR=...

Instead? This is what we use.

Cheers,
Chris

On Wed, Apr 15, 2015 at 9:33 AM, Roger Hoover 
wrote:

> Hi,
>
> I'm trying to deploy a job to a small YARN cluster.  How do tell the
> launcher script where to find the Resource Manager?  I tried creating a
> yarn-site.xml and setting HADOOP_CONF_DIR environment variable but it
> doesn't find my config.
>
> 2015-04-14 22:02:45 ClientHelper [INFO] trying to connect to RM
> 0.0.0.0:8032
> 2015-04-14 22:02:45 RMProxy [INFO] Connecting to ResourceManager at /
> 0.0.0.0:8032
>
> Thanks,
>
> Roger
>


How to configure the Resource Manager endpoint for YARN?

2015-04-15 Thread Roger Hoover
Hi,

I'm trying to deploy a job to a small YARN cluster.  How do tell the
launcher script where to find the Resource Manager?  I tried creating a
yarn-site.xml and setting HADOOP_CONF_DIR environment variable but it
doesn't find my config.

2015-04-14 22:02:45 ClientHelper [INFO] trying to connect to RM 0.0.0.0:8032
2015-04-14 22:02:45 RMProxy [INFO] Connecting to ResourceManager at /
0.0.0.0:8032

Thanks,

Roger