博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【甘道夫】HBase开发环境搭建过程中可能遇到的异常:No FileSystem for scheme: hdfs
阅读量:4283 次
发布时间:2019-05-27

本文共 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中加入:

  1. <property>  
  2.     <name>fs.hdfs.impl</name>  
  3.     <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>  
  4.     <description>The FileSystem for hdfs: uris.</description>  
  5. </property>

转载地址:http://kdcgi.baihongyu.com/

你可能感兴趣的文章
保護你的隱私,從 PGP 開始!
查看>>
What does “%.*s” mean in printf?
查看>>
The Linux Kernel Module Programming Guide(hello)
查看>>
makefile的三個特殊符號(= := ?=)
查看>>
HowTo: Linux Check IDE / SATA Hard Disk Transfer Speed
查看>>
Use a variable reference “inside” another variable
查看>>
route table使用傳統指令修改方法(非iproute2)
查看>>
How to pad a file with “FF” using dd?
查看>>
ubiformat and nandwrite
查看>>
checksum 軟體
查看>>
iperf bind
查看>>
git查看某一个檔案的詳細commit record
查看>>
git 退回到某個版本
查看>>
Gpg4Win 加密
查看>>
GDB display memory value
查看>>
A library of generic data structures
查看>>
刪除git tag
查看>>
Shutter:Linux 系統下的多功能桌面畫面擷取工具
查看>>
node js 大陸論壇
查看>>
c++參考手冊
查看>>