Hadoop安装,在格式化时有错误
Hadoop安装,在格式化时有错误
[Fatal Error] core-site.xml:1:8: Element type "meNode" must be followed by either attribute specifications, ">" or "/>".
20/04/16 10:58:41 FATAL conf.Configuration: error parsing conf core-site.xml
org.xml.sax.SAXParseException; systemId: file:/root/hadoop-2.7.3/etc/hadoop/core-site.xml; lineNumber: 1; columnNumber: 8; Element type "meNode" must be followed by either attribute specifications, ">" or "/>".
我的core -site.xmld的配置是
<!--配置NameNode地址,9000是RPC通信端口-->
<property>
<name>fs.defaultFS</name>
<value>hdfs://192.168.85.102:8020</value>
</property>
<!--HDFS数据保存在Linux的哪个目录,默认值是Linux的tmp目录-->
<property>
<name>hadoop.tmp.dir</name>
<value>/root/hadoop/tmp</value>
</property>