snakebite
snakebite copied to clipboard
Feature request: timeout
Would be nice with a timeout flag that could be used mainly for the auto-complete feature when the namenode is slow at responding. Tab completion isn't very useful if it takes more than say a second to get the completion, but currently the user has to cancel the completion with a ctrl-C sequence in that case which aborts the current command altogether. What do you think?
Sounds like a good idea to have anyway. The stock hadoop client has a timeout as well (or exponential back-off). For completion purposes we can fail after a timeout, for other stuff we might want to retry after a timeout.
@freider what do you think? Command line options or a decorator? Or both?
Ping @freider
This would surely be a great feature!