在为Lustre配置Hadoop时无法启动名称节点

Tru*_*pti 5 hadoop lustre

我正在尝试将hadoop与英特尔光泽融为一体.我已添加hadoop-lustre-plugin-3.1.0hadoop-2.7.3/lib/native文件夹.Lustre安装在/mnt/lustre.当我开始使用hadoop时,我遇到了以下错误start-all.sh

[root@master hadoop]# start-all.sh 
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
17/04/06 17:36:55 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on [ ]
... 
Run Code Online (Sandbox Code Playgroud)

core-site.xml:

<property>
  <name>fs.defaultFS</name>
  <value>lustre:///</value>
</property>
<property>
  <name>fs.lustre.impl</name>
  <value>org.apache.hadoop.fs.LustreFileSystem</value>
</property>
<property>
  <name>fs.AbstractFileSystem.lustre.impl</name>
  <value>org.apache.hadoop.fs.LustreFileSystemlustre</value>
</property
<property>
  <name>fs.lustrefs.mount</name>
    <value>/mnt/lustre/hadoop</value>
     <description>This is the directory on Lustre that acts as the root level for Hadoop services</description>
 </property>
<property>
  <name>lustre.stripe.count</name>
  <value>1</value>
</property>
<property>
  <name>lustre.stripe.size</name>
  <value>4194304</value>
</property>
<property>
  <name>fs.block.size</name>
  <value>1073741824</value>
</property>
Run Code Online (Sandbox Code Playgroud)

maprd-site.xml中

<property>
    <name>mapreduce.job.map.output.collector.class</name>
    <value>org.apache.hadoop.mapred.SharedFsPlugins$MapOutputBuffer</value>
</property>
<property>
    <name>mapreduce.job.reduce.shuffle.consumer.plugin.class</name>
    <value>org.apache.hadoop.mapred.SharedFsPlugins$Shuffle</value>
</property>
Run Code Online (Sandbox Code Playgroud)

HDFS-site.xml中

<property>
<name>dfs.name.dir</name>
<value>/mnt/lustre/hadoop/hadoop_tmp/namenode</value>
<description>true</description>
</property>
Run Code Online (Sandbox Code Playgroud)

我在配置文件中遗漏了哪些配置?

fra*_*ijo 0

由于fs.defaultFS持有lustre特定的URI,启动脚本无法确定Namenode必须启动的主机。

将此属性添加到hdfs-site.xml,

<property>
   <name>dfs.namenode.rpc-address</name>
   <value>namenode_host:port</value>
</property>
Run Code Online (Sandbox Code Playgroud)