我想在Hadoop2.4.0中使用gridgain的所有人
我的hadoop配置在那下面
core-site.xml文件
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/usr/hadoop-data</value>
</property>
<property>
<name>fs.trash.interval</name>
<value>1440</value>
</property>
<property>
<name>io.file.buffer.size</name>
<value>131072</value>
</property>
<property>
<name>fs.defaultFS</name>
<value>ggfs://ggfs@R</value>
</property>
<property>
<name>dfs.journalnode.edits.dir</name>
<value>/usr/hadoop-data/journal</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>r,host002,host004</value>
</property>
<property>
<name>fs.AbstractFileSystem.ggfs.impl</name>
<value>org.gridgain.grid.ggfs.hadoop.v2.GridGgfsHadoopFileSystem</value>
</property>
<property>
<name>dfs.client.block.write.replace-datanode-on-failure.policy</name>
<value>NEVER</value>
</property>
</configuration>
完成设置并启动hdfs
我用
hadoop fs-ls版/
ls:scheme:ggfs没有文件系统
我该怎么办
谢谢
1条答案
按热度按时间tzxcd3kk1#
将以下内容添加到core-site.xml:
hadoop文件系统api的第二个版本很少使用。hadoop生态系统的大部分部分通过api的第一个版本工作。
如果您只想使用ggfs,就不需要启动hdfs服务。