问题:windows下用eclipse连接hdfs时用户名默认是主机名 解决:win下环境变量配置一下:HADOOP_USER_NAME=hdfs 转载于:https://www.cnblogs.com/water-sky/p/5752675.html