Re: reducing HDFS FS connection timeouts

2014-03-28 Thread Hardik Pandya
how about adding ipc.client.connect.max.retries.on.timeouts *2 (default is 45)*Indicates the number of retries a client will make on socket timeout to establish a server connection. does that help? On Thu, Mar 27, 2014 at 4:23 PM, John Lilley john.lil...@redpoint.netwrote: It seems to take a

reducing HDFS FS connection timeouts

2014-03-27 Thread John Lilley
It seems to take a very long time to timeout a connection to an invalid NN URI. Our application is interactive so the defaults of taking many minutes don't work well. I've tried setting: conf.set(ipc.client.connect.max.retries, 2); conf.set(ipc.client.connect.timeout, 7000); before calling