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 <roger.hoo...@gmail.com> wrote:
> 
> I'll try that.  Thanks, Chris.
> 
>> On Wed, Apr 15, 2015 at 9:37 AM, Chris Riccomini <criccom...@apache.org> 
>> 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 <roger.hoo...@gmail.com>
>> 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
>> >
> 

Reply via email to