Hi Supreet, Sorry to digress a bit. But are you looking for something similar the timeout in GNU?
Check this link below: http://unix.stackexchange.com/questions/43340/how-to-introduce-timeout-for-shell-scripting Thanks, Abhishek Singh On Thu, Apr 14, 2016 at 2:40 AM, Supreeth <[email protected]> wrote: > Hi: > > We have a scenario in our hadoop cluster running ( 2.4.x), where in when an > accidental hadoop fs -lsr happens over the entire HDFS itself, takes a long > time (On the java client, which does such a call we eventually see memory > issues). > > Is there any configuration which will make such queries timeout on the > server end? Say on the lines of > > "If a response on a query response to the client takes longer than X > seconds, timeout the query or return an exception to the client" ? > > Looking at the timeout configurations available, ipc.client.connect.timeout > is more during connection establishment and ideltimeout is when there is no > IO activity at all. Is there a timeout to monitor query response times? > > Thanks, > Supreeth > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
