Hadoop plugins 如何使用glusterfs hadoop插件?

Hadoop plugins 如何使用glusterfs hadoop插件?,hadoop-plugins,Hadoop Plugins,我安装了glusterfs并运行良好,之后我安装了hadoop 1.x并与hdfs一起运行良好,但是当我使用glusterfs hadoop插件将glusterfs用作hadoop的文件系统后端时,我得到错误,我使用github站点安装glusterfs hadoop插件。将jar文件复制到hadoop库目录,并将my core-site.xml更改为: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="c

我安装了glusterfs并运行良好,之后我安装了hadoop 1.x并与hdfs一起运行良好,但是当我使用glusterfs hadoop插件将glusterfs用作hadoop的文件系统后端时,我得到错误,我使用github站点安装glusterfs hadoop插件。将jar文件复制到hadoop库目录,并将my core-site.xml更改为:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>

<property>
<name>fs.glusterfs.impl</name>
<value>org.apache.hadoop.fs.glusterfs.GlusterFileSystem</value>
</property>

<property>
<name>fs.default.name</name>
<value>glusterfs://fedora1:9010</value>
</property>

<property>
<name>fs.AbstractFileSystem.glusterfs.impl</name>
<value>org.apache.hadoop.fs.local.GlusterFs</value>
</property>

<property>
<name>fs.glusterfs.volumes</name>
<value>test1</value>
</property>

<property>
<name>fs.glusterfs.volume.fuse.test1</name>
<value>/mnt/Hadoop</value>
</property>

</configuration>

请帮助我,谢谢您的回复。

如果我没有弄错,这应该可以:

<property>
  <name>fs.default.name</name>
  <value>glusterfs:///fedora1:9010</value>
</property>

fs.default.name
glusterfs:///fedora1:9010
<property>
  <name>fs.default.name</name>
  <value>glusterfs:///fedora1:9010</value>
</property>