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.net>wrote: > 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 FileSystem.get() but it doesn't seem to matter. > > What is the prescribed technique for lowering connection timeout to HDFS? > > Thanks > > john > > >