Description
In FTPFilesystem or Configuration, timeout is not possible to configure.
It is very straight forward to configure, in FTPFilesystem.connect() method.
ftpClient.setControlKeepAliveTimeout
Like
private FTPClient connect() throws IOException {
...
String timeout = conf.get("fs.ftp.timeout." + host);
...
ftpClient.setControlKeepAliveTimeout(new Integer(300));
....
}