FileSystem .create()上传文件出现乱码
在学习hadoop时,通过FileSystem 对象create方法传递出现乱码
调用java方法是
public static void main(String[] args) throws Exception{
FileSystem fs = FileSystem.get(URI.create("hdfs://hadoop:9000"), new Configuration());
F
原创
2017-03-15 21:32:59 ·
1434 阅读 ·
0 评论