本文共 607 字,大约阅读时间需要 2 分钟。
异常: 2014-02-24 12:15:48,507 WARN [Thread-2] util.DynamicClassLoader (DynamicClassLoader.java:<init>(106)) - Failed to identify the fs of dir hdfs://fulonghadoop/hbase/lib, ignored java.io.IOException: No FileSystem for scheme: hdfs解决:
在pom文件中加入:<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
<version>2.2.0</version>
</dependency>
当然,如果你的pom中已经有有了hadoop-client,则无需再引入hadoop-hdfs。
在core-site.xml中加入:
转载地址:http://kdcgi.baihongyu.com/