RE: very long timeout on failed RM connect

2014-03-01 Thread John Lilley
(ipc.client.connect.max.retries, 2); and it still seems to wait about 15 seconds. From: Jian He [mailto:j...@hortonworks.com] Sent: Wednesday, February 12, 2014 3:44 PM To: user@hadoop.apache.org Subject: Re: very long timeout on failed RM connect ipc.client.connect.retry.interval sets the underlying ipc retry

RE: very long timeout on failed RM connect

2014-02-12 Thread John Lilley
that can be set? Thanks John From: John Lilley [mailto:john.lil...@redpoint.net] Sent: Monday, February 10, 2014 12:12 PM To: user@hadoop.apache.org Subject: RE: very long timeout on failed RM connect I tried: conf.set(yarn.resourcemanager.connect.max-wait.ms, 1); conf.set

Re: very long timeout on failed RM connect

2014-02-12 Thread Jian He
:* Monday, February 10, 2014 12:12 PM *To:* user@hadoop.apache.org *Subject:* RE: very long timeout on failed RM connect I tried: conf.set(yarn.resourcemanager.connect.max-wait.ms, 1); conf.set(yarn.resourcemanager.connect.retry-interval.ms, 1000); But it has no apparent effect. Still

very long timeout on failed RM connect

2014-02-10 Thread John Lilley
Our application (running outside the Hadoop cluster) connects to the RM through YarnClient. This works fine, except we've found that if the RM address or port is misconfigured in our software, or a firewall blocks access, the first call into the client (in this case getNodeReports) hangs for a

Re: very long timeout on failed RM connect

2014-02-10 Thread Jian He
Setting the following two properties may solve your problem. yarn.resourcemanager.connect.max-wait.ms controls Maximum time to wait to establish connection to ResourceManager. yarn.resourcemanager.connect.retry-interval.ms controls How often to try connecting to the ResourceManager. Jian On

RE: very long timeout on failed RM connect

2014-02-10 Thread John Lilley
@hadoop.apache.org Subject: Re: very long timeout on failed RM connect Setting the following two properties may solve your problem. yarn.resourcemanager.connect.max-wait.mshttp://yarn.resourcemanager.connect.max-wait.ms/ controls Maximum time to wait to establish connection to ResourceManager