You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by "Mhaskar, Tushar" <tm...@paypal.com.INVALID> on 2015/09/04 23:19:21 UTC
Samza Task searching for Resource Manager at wrong address at startup
Hi All,
I am trying to run the hello samza project .
When I execute the following command ,
bin/grid start yarn
The Resource Manager starts on 127.0.0.0:3032 , but when I start the task it searches the Resource Manager on 0.0.0.0:8032.
What could be the config change?
Thanks,
Tushar
Re: Samza Task searching for Resource Manager at wrong address at
startup
Posted by "Mhaskar, Tushar" <tm...@paypal.com.INVALID>.
My /etc/hosts is as follows
127.0.0.1 localhost loopback
My yarn-site.xml is as follows
<configuration>
<property>
<name>yarn.resourcemanager.scheduler.class</name>
<value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler</value>
</property>
<property>
<name>yarn.nodemanager.vmem-pmem-ratio</name>
<value>10</value>
</property>
<property>
<name>yarn.resourcemanager.hostname</name>
<value>127.0.0.1</value>
</property>
</configuration>
Note : 127.0.0.0 was a typo.
Tushar.
On 9/6/15, 10:49 PM, "Balusamy, Elangovan" <El...@altisource.com> wrote:
>Also 127.0.0.0 looks fishy, the default localhost ip is usually 127.0.0.1 in /etc/hosts file
>
>-----Original Message-----
>From: Renato Marroquín Mogrovejo [mailto:renatoj.marroquin@gmail.com]
>Sent: Saturday, September 05, 2015 6:02 AM
>To: dev@samza.apache.org
>Subject: Re: Samza Task searching for Resource Manager at wrong address at startup
>
>Hi Tushar,
>
>That is probably because your /etc/host file doesn't have an entry for it i.e. the loopback interface isn't configured properly. Now the specific configuration for yarn is the property <yarn.resourcemanager.hostname> if you'd like to change it there directly.
>
>
>Renato M.
>
>[1]
>https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-common/yarn-default.xml
>
>2015-09-04 23:19 GMT+02:00 Mhaskar, Tushar <tm...@paypal.com.invalid>:
>
>> Hi All,
>>
>> I am trying to run the hello samza project .
>>
>> When I execute the following command ,
>>
>> bin/grid start yarn
>>
>> The Resource Manager starts on 127.0.0.0:3032 , but when I start the
>> task it searches the Resource Manager on 0.0.0.0:8032.
>>
>> What could be the config change?
>>
>> Thanks,
>> Tushar
>>
>>
>>
>>
>>
>***********************************************************************************************************************
>
>This email message and any attachments are intended solely for the use of the addressee. If you are not the intended recipient, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. If you have received this message in error, please promptly notify the sender by reply email and immediately delete this message from your system. This message and any attachments may contain information that is confidential, privileged or exempt from disclosure. Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. Message transmission is not guaranteed to be secure or free of software viruses.
>***********************************************************************************************************************
RE: Samza Task searching for Resource Manager at wrong address at
startup
Posted by "Balusamy, Elangovan" <El...@altisource.com>.
Also 127.0.0.0 looks fishy, the default localhost ip is usually 127.0.0.1 in /etc/hosts file
-----Original Message-----
From: Renato Marroquín Mogrovejo [mailto:renatoj.marroquin@gmail.com]
Sent: Saturday, September 05, 2015 6:02 AM
To: dev@samza.apache.org
Subject: Re: Samza Task searching for Resource Manager at wrong address at startup
Hi Tushar,
That is probably because your /etc/host file doesn't have an entry for it i.e. the loopback interface isn't configured properly. Now the specific configuration for yarn is the property <yarn.resourcemanager.hostname> if you'd like to change it there directly.
Renato M.
[1]
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-common/yarn-default.xml
2015-09-04 23:19 GMT+02:00 Mhaskar, Tushar <tm...@paypal.com.invalid>:
> Hi All,
>
> I am trying to run the hello samza project .
>
> When I execute the following command ,
>
> bin/grid start yarn
>
> The Resource Manager starts on 127.0.0.0:3032 , but when I start the
> task it searches the Resource Manager on 0.0.0.0:8032.
>
> What could be the config change?
>
> Thanks,
> Tushar
>
>
>
>
>
***********************************************************************************************************************
This email message and any attachments are intended solely for the use of the addressee. If you are not the intended recipient, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. If you have received this message in error, please promptly notify the sender by reply email and immediately delete this message from your system. This message and any attachments may contain information that is confidential, privileged or exempt from disclosure. Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. Message transmission is not guaranteed to be secure or free of software viruses.
***********************************************************************************************************************
Re: Samza Task searching for Resource Manager at wrong address at startup
Posted by Renato Marroquín Mogrovejo <re...@gmail.com>.
Hi Tushar,
That is probably because your /etc/host file doesn't have an entry for it
i.e. the loopback interface isn't configured properly. Now the specific
configuration for yarn is the property <yarn.resourcemanager.hostname> if
you'd like to change it there directly.
Renato M.
[1]
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-common/yarn-default.xml
2015-09-04 23:19 GMT+02:00 Mhaskar, Tushar <tm...@paypal.com.invalid>:
> Hi All,
>
> I am trying to run the hello samza project .
>
> When I execute the following command ,
>
> bin/grid start yarn
>
> The Resource Manager starts on 127.0.0.0:3032 , but when I start the task
> it searches the Resource Manager on 0.0.0.0:8032.
>
> What could be the config change?
>
> Thanks,
> Tushar
>
>
>
>
>