site.xml的语法混乱

wljmcqd8  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(232)

我遵循hadoop core-site.xml语法错误中提到的解决方案。但没什么好处。因此,再次写这篇文章时,core-site.xml抛出了一个错误。
访客操作系统:vmware上的ubuntu 20
主机操作系统:windows 10
hadoop 2.9.2版
以下是文件代码:

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

<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://0.0.0.1:9000</value>
    </property>

    <property>
        <name>hadoop.tmp.dir</name>
        <value>/usr/local/hadoop/data</value>
    </property>
</configuration>

这是第5天,我是如此接近完成Map减少在hadoop成功。请有人帮帮我。提前谢谢!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题