Caused by: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections
Server (是指hdfs) asks us to fall back to SIMPLE auth, but this client (是指flume) is configured to only allow secure (是指kerberos) connections.
原因是flume开了kerberos,而hdfs没有开kerberos.
此时flume和hdfs的通信就不能使用相同的认证方式,hdfs只识别简单认证模式,而flume是kerberos认证模式.
这个在其他时候也是一样的,只要你的相互之间的认证不是相同的方式,就是出现这个问题
要么就统一关闭集群的kerberos.,要么就统一开启,看开启的时候,还会遇到很多问题 ,后期补充