core-site.xml中配置的fs.default.name是hdfs://localhost:9000。但是这里读取出来的是本地文件系统。原因暂不知?有谁知道? 转载于:https://www.cnblogs.com/caiyao/p/5248197.html