天天看点

Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections.

我是在flume向hdfs 写(sink)数据时遇到的这个错误.

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认证模式.

继续阅读