使用 hdfs-over-ftp 时登录报错421 Maximum login limit has been reached.
 
 
 本地测试连接第10个用户的时候会报这个异常
 
 就是默认限制了用户登录数量。

DefaultConnectionConfig.java里private int maxLogins = 10;
在HdfsOverFtpServer.java里修改了startServer()这个method,在相应位置对应添加如下两块即可
DefaultConnectionConfig con = new DefaultConnectionConfig();
con.setMaxLogins(0);//0代表无限制
server.setConnectionConfig(con);

参考: https://blog.csdn.net/knowledgeaaa/article/details/14169189



















