现在的位置: 首页 > 综合 > 正文

ycsb +hbase 0.96 编译pom文件修改

2018年04月08日 ⁄ 综合 ⁄ 共 649字 ⁄ 字号 评论关闭

修改hbase-binding下的pom.xml

    <dependency>
          <groupId>org.apache.hbase</groupId>
          <artifactId>hbase-it</artifactId>
          <version>0.96.1.1-hadoop2</version>
      </dependency>
      <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>2.2.0</version>
      </dependency>

遇到个错误:

2014-02-24 12:15:48,507 WARN  [Thread-2] util.DynamicClassLoader (DynamicClassLoader.java:<init>(106)) - Failed to identify the fs of dir hdfs://h112200.mars.grid.sina.com.cn:9000/hbase/lib, ignored
java.io.IOException: No FileSystem for scheme: hdfs

修改hbase-binding/conf/hbase-site.xml

<property>
        <name>fs.hdfs.impl</name>
        <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
</property>

抱歉!评论已关闭.