我正在嘗試將hadoop與intel光澤集成。我已將hadoop-lustre-plugin-3.1.0
添加到hadoop-2.7.3/lib/native
文件夾。 Lustre安裝在/mnt/lustre
。我收到以下錯誤,當我開始使用Hadoop的start-all.sh
在配置Hadoop for Lustre時無法啓動名稱節點
[[email protected] 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 [ ]
...
核心的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>
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>
HDFS-site.xml中
<property>
<name>dfs.name.dir</name>
<value>/mnt/lustre/hadoop/hadoop_tmp/namenode</value>
<description>true</description>
</property>
是是否在配置文件中缺少配置?
你需要光澤透明接入(例如使用HDFS://的URI,但在後臺達到光澤)?否則,「啓動YARN服務 - 不需要HDFS。在這種情況下,AFS使用Lustre。」根據以下來源:http://cdn.opensfs.org/wp-content/uploads/2014/04/D3_S28_RunHadoopMapReduceJobsonLustre.pdf –
我已經按照pdf中的步驟和使用紗線提交工作,但得到錯誤: – Trupti
'[@ master〜]#yarn jar /opt/hadoop-2.7.3/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar wordcount/mnt/lustre/file/mnt/luster/hadoop/out 17/04/17 17:21:45 WARN util.NativeCodeLoader:無法爲您的平臺加載native-hadoop庫。在適用的情況下使用builtin-java類java.lang.SecurityException:class「org.apache.hadoop.fs.LustreFileSystem」' s簽名者信息與相同包中其他類的簽名者信息不匹配 – Trupti