expected: file:///

[java] java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.190.128:9000/user/hadoop/output/probability/ALB-m-00000, expected: file:///

一般是获取fileSystem的方式不对,要用Path.getFileSystem(conf);

原文地址:https://www.cnblogs.com/luolizhi/p/5000208.html