我正在尝试从我的Windows机器访问远程文件系统
我的代码非常简单:
Configuration conf = new Configuration();
conf.set("fs.defaultFS","hdfs://remoteHostName.com:8020/");
FileSystem fs = FieSystem.get(conf);
System.out.println("Hi");
警告:
unable to load native hadoop library for your platform using builtin
java classes where applicable
我无法理解原因。有什么建议吗?